121、Private Sub Command1_Click() Dim aa(4) as Integer For i=1 to 4 aa(i)= aa(i)+2 Next i
Print aa(1) End Sub
上面程序输出结果是______。
答案: 1:2
等级:2 难度:2
知识点:VB知识点/数组的基本操作
122、Private Sub Command1_Click() Dim w(4) as integer Dim y() as integer For i=0 to 4 w(i)= i+2 Next i y=w
Print y(1) End Sub
上面程序输出结果是______。
答案: 1:3
等级:1 难度:1
知识点:VB知识点/静态数组与动态数组
123、Private Sub Command1_Click() Dim w(4) as integer Dim y() as integer For i=0 to 4 w(i)= 2 * i Next i y=w
Print y(1) End Sub
上面程序输出结果是______。
答案: 1:2
等级:2 难度:2
知识点:VB知识点/数组的基本操作
124、Private Sub Command1_Click() Dim w(4) as integer Dim y() as integer
For i=0 to 4 w(i)= 3 * i Next i y=w
Print y(2) End Sub
上面程序输出结果是______。
答案: 1:6
等级:2 难度:2
知识点:VB知识点/静态数组与动态数组
125、Private Sub Command1_Click() Dim w(4) as integer Dim y() as integer For i=0 to 4 w(i)= w(i) + 3 Next i y=w
Print y(1) End Sub
上面程序输出结果是______。
答案: 1:3
等级:2 难度:2
知识点:VB知识点/数组应用举例
126、Option Base 1
Private Sub Command1_Click() Dim c(4) as integer Dim meb as Variant For i=1 to 4 c(i)= i*2 + 1 Next i
For Each meb in c Print meb; Next meb End Sub
上面程序输出结果是______。
答案: 1:3 5 7 9#3579 等级:3 难度:3
知识点:VB知识点/综合应用程序举例
127、Option Base 1
Private Sub Command1_Click() Dim c(4) as integer Dim meb as Variant
For i=1 to 4 c(i)= i*2 + 1 Next i
For Each meb in c Print meb; Next meb End Sub
上面程序输出的第2个数是______。
答案: 1:5
等级:3 难度:3
知识点:VB知识点/综合应用程序举例
128、Private Sub Command1_Click() Dim c(4) as integer Dim meb as Variant For i=1 to 4 c(i)= i*2 + 1 Next i
For Each meb in c Print meb; Next meb End Sub
默认情况下上面程序输出的第2个数是______。
答案: 1:3
等级:3 难度:3
知识点:VB知识点/综合应用程序举例
129、Option Base 1
Private Sub Command1_Click() Dim s(3) as integer Dim m as Variant For i=1 to 3 s(i)= i*2 - 1 Next i
For Each m in s Print m; Next m End Sub
上面程序输出结果是______。
答案: 1:1 3 5#135 等级:3 难度:3
知识点:VB知识点/综合应用程序举例
130、Option Base 1
Private Sub Command1_Click() Dim s(3) as integer Dim m as Variant
For i=1 to 3 s(i)= i*i + 1 Next i
For Each m in s Print m; Next m End Sub
上面程序输出结果是______。
答案: 1:2 5 10#2510 等级:3 难度:3
知识点:VB知识点/综合应用程序举例
131、Private Sub Command1_Click() Dim s(3) as integer Dim mb as Variant For i=0 to 3 s(i)= i^2 + 1 Next i
For Each mb in s Print mb; Next mb End Sub
上面程序输出结果是______。
答案: 1:1 2 5 10#12510 等级:3 难度:3
知识点:VB知识点/综合应用程序举例
132、控件数组中以______属性来区分各个元素。
答案: 1:Index#index#INDEX 等级:1 难度:1 知识点:VB知识点/控件数组
133、可以通过______键来对复制后的已有控件进行粘贴操作,建立一个新的控件数组元素。
答案: 1:Ctrl+V#CTRL+V#ctrl+V#Ctrl+v#CTRL+v#ctrl+v#Ctrl + V#CTRL + V#ctrl + V#Ctrl + v#CTRL + v#ctrl + v
等级:1 难度:1 知识点:VB知识点/控件数组
134、可以通过______键来复制已有控件,粘贴后可以建立一个新的控件数组元素。
答案: 1:Ctrl+S#CTRL+S#ctrl+S#Ctrl+s#CTRL+s#ctrl+s#Ctrl + S#CTRL + S#ctrl + S#Ctrl + s#CTRL + s#ctrl + s
等级:1 难度:1 知识点:VB知识点/控件数组
135、控件数组中第一个元素的Index值是______。
答案: 1:0
等级:1 难度:1 知识点:VB知识点/控件数组
136、某个控件的Index值默认情况是______。
答案: 1:空值#空
等级:1 难度:1
知识点:VB知识点/控件的基本知识
137、可以通过修改控件数组中控件的______值改变其在数组中的顺序。
答案: 1:Index#index#INDEX 等级:1 难度:1 知识点:VB知识点/控件数组
138、控件数组除了在界面设计时建立外还可以在程序______时建立。
答案: 1:运行
等级:1 难度:1 知识点:VB知识点/控件数组
139、在程序运行时用______语句可以添加控件数组元素。
答案: 1:Load#load#LOAD 等级:2 难度:2 知识点:VB知识点/控件数组
140、在程序运行时用______语句可以删除控件数组元素。
答案: 1:UnLoad#unLoad#UNLOAD 等级:2 难度:2 知识点:VB知识点/控件数组
141、在程序运行中添加的控件数组元素必须将其Visible属性设置为______才能在窗体中显示。
答案: 1:True#true#TRUE#真 等级:2 难度:2 知识点:VB知识点/控件数组