A.20 30
B.40 50
C.30 40
D.40 30
[单选题]若将PRIVATE Y改为PRIVATE X,则程序执行后的显示结果为 ______。A.20 30B.40 50C.20 50D.40 30
[单选题]若在PRIVATE Y后加一条PRIVATE X语句,则程序执行后的显示结果为 ______。A.20 30B.40 50C.20 50D.40 30
[单选题]若将程序中的&& 删除,则X,Y的输出结果为 ______。A.0 2B.2 4C.6 6D.1 3
[单选题]若将子过程SUB中的PRIVATE X改为PRIVATE Y,则Y的输出结果为 ______。A.5B.11C.8D.3
[单选题]若将子过程SUB中的PRIVATE X改为PRIVATE Y,则X的输出结果为 ______。A.5B.11C.8D.3
[主观题]执行下列程序,输入数字3,则输出结果为______。Private Sub Command1_Click()a=inputBox("Input a Number")If a>5 ThenG.oTo L5E.lse If a>2 ThenG.oTo L2E.lseG.oTo L3E.nd IfE.xit SubL5:Print a Mod 5E.xit SubL3:Print a Mod 3E.xit SubL2:Print a Mod 2E.nd Sub
[单选题]若将STEP 3删除,则SS的输出结果为 ______。A.22B.35C.45D.55
[单选题]执行下面的程序,单击窗体后在窗体上显示的结果是 ______。Private Sub form_ Click() Dim Str1 As String, Str2 As String Dim Str3 As String, I As Integer Str1 = "e" for I = t To 2 Str2 = Ucase (Str1) Str1 = Str2 & Str1 Str3 = Str3 & Str1 str1 = Chr (Asc(Str1) + I) Next
[单选题]下列程序运行后,单击命令按钮,窗体显示的结果为( )。 Private Function pl(x As Integer,y As Integer,z As Integer) pl=2*x+y+3*z End Function Private Function p2(X As Integer,y As Integer,z As Integer) p2=p1(z,y,x)+x End Function Private Sub Commandl_Click()A.23B.19C.21D.22
[单选题]( 27 )下面程序执行时,在窗体上显示的是Private Sub Command1_Click()D.im a(10)F.or k = 1 To 10a(k) = 11 – kNext kPrint a(a(3)/a(7) Mod a(5))E.nd SubA. ) 3B. ) 5C. ) 7D. )9