有如下自定义过程: Sub test(x As Integer) x =X *2+1 If x<6 Then Call test(x) End If x=x* 2 + 1 Print x; End Sub调用该过程的事件过程如下:Private Sub Command1_Click() test 2End Sub则该段程序的执行结果是______ 。A.12B.23 47C.23D.5 10

题目

有如下自定义过程: Sub test(x As Integer) x =X *2+1 If x<6 Then Call test(x) End If x=x* 2 + 1 Print x; End Sub调用该过程的事件过程如下:Private Sub Command1_Click() test 2End Sub则该段程序的执行结果是______ 。

A.12

B.23 47

C.23

D.5 10


相似考题
更多“有如下自定义过程:Sub test(x As Integer)x =X *2+1If x<6 Then Call test(x)End Ifx=x* 2 + 1Pr ”相关问题
  • 第1题:

    设有如下代码段, x为哪些数时输出内容中含有 "Test2" ? switch (x) { case 1 : System.out.println("Test1"); case 2 : case 3 : System.out.println("Test2"); break; } System.out.println("Test3");

    A.0

    B.1

    C.2

    D.3


    4

  • 第2题:

    对向量X和Y进行正态性检验的命令是?

    A.shapiro.test(X,Y)

    B.var.test(X,Y)

    C.shapiro.test(X) shapiro.test(Y)

    D.var.test(X) var.test(Y)


    shapiro.test(X) shapiro.test(Y)

  • 第3题:

    9、在波士顿数据集中,访问测试集test_x中,所有样本的的ZN和INDUS属性(第2、3列元素),可以通过______语句实现。

    A.test_x[:, 1:3]

    B.test_x[0:, 2:3]

    C.test_x[1:3]

    D.test_x[2:3]


    test_x[:, 1:3]

  • 第4题:

    设有如下代码段, x为哪些数时输出内容中含有 "Test2" ? switch (x) { case 1 :System.out.println("Test1"); case 2 : case 3 :System.out.println("Test2");break; } System.out.println("Test3");

    A.2

    B.1

    C.0

    D.3


    4

  • 第5题:

    R中,对向量X和Y进行方差齐性检验的命令是?

    A.shapiro.test(X,Y)

    B.var.test(X,Y)

    C.shapiro.test(X);shapiro.test(Y)

    D.var.test(X);var.test(Y)


    var.test(X,Y)