A.此事件过程与不带参数的事件过程没有区别
B.有—个名称为Command1的窗体,单击此窗体则执行此事件过程
C.有一个名称为Command1的控件数组,数组中有多个不同类型控件
D.有—今名称为Command1的控件数组,数组中有多个相同类型控件
[单选题]( 19 )若在某窗体模块中有如下事件过程( )Private Sub Command1_Click ( Index AS Integer )……E.nd Sub则以下叙述中正确的是A. )此事件过程与不带参数的事件过程没有区别B. )有 1 个名称为 Command1 的窗体 , 单击此窗体则执行此事件过程C. )有 1 个名称为 Command1 的空件数组 , 数组中有多个不同类型控件D. )有 1 个名称为 Command1 的空件数组 , 数组中有多个相同类型控件
[单选题]编写如下事件过程和函数过程: Private Sub Command1_Click() Dim num(1 To 6) As Single num(1)=103: num(2)=190: num(3)=0 hum(4)=32:num(5)=-56: num(6)=100 Print Print p2(6,num()) End Sub Private Function p2(ByVal n As Integer, number() As Single) As Integer p2=number(1
[单选题]若在某窗体模块中有如下事件过程Private Sub Command1_Click(Index AS Integer)……E.nd Sub则以下叙述中正确的是( )。A. 此事件过程与不带参数的事件过程没有区别B. 有1个名称为Command1的窗体,单击此窗体则执行此事件过程C. 有1个名称为Command1的空件数组,数组中有多个不同类型控件D. 有1个名称为Command1的空件数组,数组中有多个相同类型控件
[单选题]下列事件过程运行后输出结果是Private Sub Command1_Click()Print Format$(123,456, "###,##%")E.nd SubA.123.46%B.123.45%C.123.456%D.12345.6%
[单选题]假定有如下的窗体事件过程: Private Sub Command1_Click() a$="Microsoft Visual Basic" b$=Riqht(a$, 5) c$=Mid(a$, 1, 9) MsgBox a$, 34, b$, c$, 5 End Sub 程序运行后,单击窗体,则在弹出的信息框的标题栏中显示的信息是______。A.Microsoft VisualB.MicrosoftC.BasicD.5
[单选题](35)某人编写了下面的程序Private Sub Command1_Click( )D.im a As Integer, b As Integera=InputBox("请输入整数")b=InputBox("请输入整数")pro apro bC.all pro(a+b)E.nd SubPrivate Sub pro(n As Integer)While (n>0)Print n Mod 10;n=n/10WendPrintE.nd Sub此程序功能是:输入 2 个正整数,反序输出
[单选题]有如下事件过程: Private Sub Command1_Click() b=10 Do Until b=-1 a=InputBox("请输入a的值") a=Val(A)b=InputBox("请输入b的值") b=Val(B)a=a * b Loop Print aEnd Sub程序运行后,依次输人数值30,20,10,-1,输出结果为A.6000B.-10C.200D.-6000
[单选题]有如下事件过程: Private Sub Command1_Click() b=10 Do Until b =-1 a = InputBox("请输入a的值") a = Val(a)b = InputBox("请输入b值") b = Val(b)a=a*b Loop Print a End Sub 程序运行后,依次输入数值30,20,10,-1后,输出结果为( )。A.6000B.-10C.200D.-6000
[单选题]执行下面的程序段,x的值为 。private Sub Command1_Click()For i=1 To 5 a=a+iNext iX=Val(i)msgBox xEnd SubA.5 B.6 C.7 D.8
[单选题]有如下事件过程: Private Sub Command1_Click() b=10 Do Until b=-1 a=InputBox("请输入a的值") a=Val(A) b=InputBox("请输入b的值") b=Val(B) a=a*b Loop Print a End Sub 程序运行后,依次输入数值30,20,10,-1后,输出结果为( )。A.6000B.-10C.200D.-6000