有如下自定义过程: 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
第1题:
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]
第2题:
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)
第3题:
对向量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)
第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
第5题:
设有如下代码段, 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
第6题:
单击窗体时,下列程序代码的运行结果为()。 Private 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 Form_Click() Test 2 End Sub
A.5 11
B.23 47
C.10 22
D.23 23
第7题:
在下列源代码文件Test.java中, ( )是正确的类定义。
A.public class test{
B.public class Test{ public int x=0;public int x=0; public test (intx) public Test (int x){ {this.x=x; this.x=x;} }} }
C.public class Test extends T1,T2{
D.protected class Test extends T2{ public int=0;public int x=0; public Test(int x){Public Test (int x){ this.x=x;this.x=x: }} }}
第8题:
单击窗体时,下列程序代码的执行结果为______ 。 Private 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 2 End Sub
A.23 47
B.5 11
C.10 22
D.23 29
第9题:
A567 563
B567 567
C567 167
D567 163