A.software and hardware
B.software
C.hardware
D.1
[单选题]单击窗体上Commandl命令按钮时,执行如下事件过程: Private Sub Commandl. Click () a$="SOftWare and hardware" b$=Right(a$,8) c$=Mid, (a$,1, 8 ) Msgbox a$,,b$,c$, 1End Sub则在弹出的信息框的标题栏中显示的信息是( )。A.software and hardwareB.softwareC.hardware D.1
[单选题]单击窗体上Commandl命令按钮时,执行如下事件过程: Private Sub Commandl _ Click() a$="software and hardware" b$=Right(a$,8) c$=Mid(b$,1,8) Msgbox c$ End sub 则在弹出的信息框的标题栏中显示的信息是( )。A.software and hardwareB.softwareC.hardwareD.and
[试题]设有命令按钮Command1的单击事件过程,代码如下:Private Sub Command1_Click()D.im a As IntegerF.or i=1 To 30a(i)=iNextF.or Each arrItem [ ]aIf arrItem Mod 7=0 Then Print arrItem;If arritem>90 Then Exit ForNextE.nd Sub请填空。
[单选题]设有命令按钮Command1的单击事件过程,代码如下: Private Sub Command1 Click() Dim a(3,3)As Integer For i=1 To 3 For j=1 To 3 a(i,j)=i*j+i Next j Next i Sum=0 For i=1 To 3 Sum=Sum+a(i,4-i) Next i Print Sum End Sub 运行程序,单击命令按钮,输出结果是______。A.20B.7C.16D.17
[单选题]设有命令按钮Command1的单击事件过程,代码如下: Private Sub Command1_Click() Dim a(30) As Integer For i=1 To 30 a(i)=Int(Rnd*100) Next For Each arrItem In a If arrItem Mod 7=0 Then Print arrItem If arrItem>90 Then Exit For Next End Sub 对于该事件过程,以下叙述中错误的是______。A.a数组中的数据是
[单选题]窗体上有一个命令按钮Command1,编写如下事件过程:Private Sub Command1_Click()Sum = 0F.or m = 1 To 3Select Case mC.ase 1a = 1C.ase 2a = 2C.ase 3a = 3E.nd SelectPrint a,Sum = Sum + aNext mPrint SumE.nd Sub运行时,单击按钮,输出结果是( )。A. 3 3 3 9B. 3 2 1 6C. 1 1 1 3D. 1 2 3 6
[单选题]窗体上有一个命令按钮Command1,编写如下事件过程:Private Sub Command1_Click()a = 80: b = 50: c = 30If ac Then b = cIf b = c And ac Then c = a + bPrint a, b, cE.nd Sub运行时,单击按钮,窗体输出的结果是( )。A. 80 50 30B. 80 30 30C. 50 30 80D. 50 30 30
[单选题]窗体上有一个命令按钮Command1,编写如下事件过程:Private Sub Command1_Click()x = InputBox("x=")y = InputBox("y=")Print x + yE.nd Sub运行后,单击命令按钮,先后在两个输入对话框中输入123和321,窗体显示的内容是( )。A. 444B. 123321C. 123+321D. 出错信息
[单选题]窗体上命令按钮Command1的事件过程如下:End Sub 该程序执行后,输出结果是( )。
[单选题]在窗体上画一个名称为Command1的命令按钮,单击命令按钮时执行如下事件过程:Private Sub Command1_Click( )a$="so