A.12
B.13
C.14
D.15
[单选题]在窗体上画一个名称为Label1的标签,然后编写如下事件过程: Private Sub Form_Click() Dim arr(10, 10)As Integer Dimi As Integer, j As Integer For i=2 To 4 For j=2 To 4 arr(i, j)=i*j Next j Next i Label1. Caption=Str(arr(2, 2)+arr(3, 3)) End Sub 程序运行后,单击窗体,在标签中显示的内容是______。A.12B.
[单选题]在窗体上画一个名称为Label1的标签,然后编写如下事件过程:Private Sub Form_Click()D.im arr(10, 10) As IntegerD.im i As Integer, j As IntegerF.or i = 2 To 4F.or j = 2 To 4arr(i, j) = i * jNext jNext iLabel1.Caption = Str(arr(2, 2) + arr(3, 3))E.nd Sub程序运行后,单击窗体,在标签中显示的内容是( )。A.
[单选题]在窗体上绘制一个名称为Labell的标签,然后编写如下事件过程: Private Sub Form_Click() Dim arr(10,10)As Integer Dim i As Integer,j As Integer For i=2 To 4 For j=2 To 4 arr(i,j)=i*j Next i Next i Labell.Caption=Str(arr(2,2)+arr(3,3)) End Sub 程序运行后,单击窗体,在标签中显示的内容是A.12B.13C.14D.15
[单选题]在窗体上画一个名称为Labell的标签,然后编写如下事件过程。 Private Sub Form_Click( ) Dim arr(10, I0) As Integer Dim i As Integer, j As Integer For i = 2 To 4 For j =2 To 4 arr(i,j) =i*j Next Next Labell. Caption = Str(arr(2,2) + arr(3,3) ) End Sub 程序运行后,单击窗体,在标签中显示的内容是A.12B.13
[单选题]在窗体上画一个名称为Labell的标签,然后编写如下事件过程: Private Sub Form_Click() Dim arr(10,10)As Integer Dim i As Integer,j As Integer For i =2 To 4 For j=2 To 4 arr(i,j)=i*j Next j Next i Labell.Caption=Str(arr(2,2)+arr(3,3)) End Sub 程序运行后,单击窗体,在标签中显示的内容是A. 12B.13C.14D.15
[单选题]在窗体上绘制一个名称为Commandl的命令按钮,然后编写如下事件过程: Private Sub Commandl Click() c="ABCD" For n=1 To 4 Print ______ Next End Sub 程序运行后,单击命令按钮,要求在窗体上显示如下内容: D CD BCD ABCD 则在横线处应填入的内容为A.Left(c,n)B.Right(c,n)C.Mid(c,n,1)D.Mid(c,n,n)
[单选题]在窗体上绘制一个名称为Command1的命令按钮,然后编写如下事件过程: Private Sub Command1_Click()c="ABCD"For n=1 To 4 Print__Next End Sub 程序运行后,单击命令按钮,要求在窗体上显示如下内容:DCDBCDABCD 则在横线处应填入的内容为A.Left(c.n) B.Right(c,n) C.Mid(c,n,1) D.Mid(c,n,n)
[单选题]在窗体上绘制一个名称为Command1的命令按钮,然后编写如下事件过程: Private Sub Command1_Click() c="ABCD" For n=1 To 4 Print______ Next End Sub 程序运行后,单击命令按钮,要求在窗体上显示如下内容: D CD BCD ABCD 则在横线处应填入的内容为( )A.Left(c,n)B.Right(c,n)C.Mid(c,n,1)D.Mid(c,n,n)
[单选题]在窗体上绘制一个命令按钮,其名称为Command1,然后编写如下事件过程:Private Sub Command1_Click() Dim i As Integer,x As Integer For i=1 To6 If i=1 Then x=i If i<= 4 Thenx=x+1 Elsex=x+2 End If Next i Print xEnd Sub 程序运行后,单击命令按钮,其输出结果为 。A.9 B.6 C.12 D.15
[单选题]在窗体上绘制一个命令按钮,其名称为Command1,然后编写如下事件过程: Private Sub Command1_Click() Dim i As Integer,x As Integer For i_1 T0 6 If i=1 Then x=i If i<=4 Then x=x+1 Else x=x+2 End If Next i Print x End Sub 程序运行后,单击命令按钮,其输出结果为( )。A.9B.6C.12D.15