答案: 1:Click#CLICK#click 等级:1 难度:1
知识点:VB知识点/控件的基本知识
97、在VB中,参数传递有值传递和______两种方式。
答案: 1:地址传递 等级:1 难度:1 知识点:VB知识点/参数的传递
98、设有如下程序: Option Base 1
Private Sub Command1_Click() Dim arr1
Dim Min As Integer, i As Integer
arr1 = Array(12, 435, 76, -24, 78, 54, 866, 43) Min = ______ For i = 2 To 8
If arr1(i) < Min Then ______ Next i
Print \最小值是:\End Sub
以上程序的功能是用Array函数建立一个含有8个元素的数组,然后查找并输出该数组中的最小值,请填空。
答案: 1:arr1(1)
2:min=arr1(i)#Min=arr1(i) 等级:3 难度:3
知识点:VB知识点/综合应用程序举例
99、语句Option Base n定义数组下标下界时,n可以是______或______。
答案: 1:0#1 2:0#1
等级:1 难度:1
知识点:VB知识点/数组的定义和引用
100、语句Option Base n用来定义数组下标______。
答案: 1:下界
等级:1 难度:1
知识点:VB知识点/数组的定义和引用
101、语句Option Base n用来定义数组______下界。
答案: 1:下标#下标的
等级:1 难度:1
知识点:VB知识点/数组的定义和引用
102、语句Option ______ n用来定义数组下标下界。
答案: 1:Base#base#BASE 等级:1 难度:1
知识点:VB知识点/数组的定义和引用
103、语句______ Base n用来定义数组下标下界。
答案: 1:Option#option#OPTION 等级:1 难度:1
知识点:VB知识点/数组的定义和引用
104、数组下标上界和下界可以是任何______常量或常量表达式。
答案: 1:整型
等级:1 难度:1
知识点:VB知识点/数组的定义和引用
105、数组下标上界和下界可以是任何整型______或常量表达式。
答案: 1:常量
等级:1 难度:1
知识点:VB知识点/数组的定义和引用
106、语句Dim aa(-1 to 1,-2 to 1)定义了有______个元素的二维数组。
答案: 1:12#十二#一十二#一二 等级:1 难度:1
知识点:VB知识点/数组的定义和引用
107、语句Dim aa(-1 to 1,-2 to 1)定义的二维数组下标下界分别是______和______。
答案: 1:-1 2:-2
等级:2 难度:2
知识点:VB知识点/数组的定义和引用
108、如果a(-1 to 2),则函数LBound(a)的返回值是______。
答案: 1:-1
等级:1 难度:1 知识点:VB知识点/函数过程
109、如果a(-1 to 2),则函数UBound(a)的返回值是______。
答案: 1:2
等级:1 难度:1 知识点:VB知识点/函数过程
110、根据需要用______可以确定动态数组的大小。
答案: 1:ReDim#redim#REDIM 等级:2 难度:2
知识点:VB知识点/数组的定义和引用
111、根据需要用ReDim可以确定______数组的大小。
答案: 1:动态
等级:1 难度:1
知识点:VB知识点/静态数组与动态数组
112、Private Sub Command1_Click() Dim aa As Variant aa=Array(1,2,3,4) Print aa(1) End Sub
上面程序输出结果是______。
答案: 1:2
等级:2 难度:2
知识点:VB知识点/数组的基本操作
113、Private Sub Command1_Click() Dim aa
aa=Array(\一\二\三\四\For i=0 to 3
aa(i)=aa(i) +\公司\Next i
Print aa(1) End Sub
上面程序输出结果是______。
答案: 1:二公司
等级:1 难度:1
知识点:VB知识点/数组的基本操作
114、Private Sub Command1_Click() Dim aa
aa=Array(\一\二\三\四\For i=0 to 3
aa(i)=aa(i) +\分店\Next i
Print aa(1) End Sub
上面程序输出结果是______。
答案: 1:二分店
等级:1 难度:1
知识点:VB知识点/数组的基本操作
115、Private Sub Command1_Click() Dim aa
aa=Array(\一\二\三\四\For i=0 to 3
aa(i)=aa(i) +\小组\Next i
Print aa(1) End Sub
上面程序输出结果是______。
答案: 1:二小组
等级:1 难度:1
知识点:VB知识点/数组的基本操作
116、Private Sub Command1_Click() Dim aa(4) as Integer For i=0 to 3 aa(i)=aa(i) +2 Next i
Print aa(1) End Sub
上面程序输出结果是______。
答案: 1:2
等级:2 难度:2
知识点:VB知识点/数组的基本操作
117、Private Sub Command1_Click() Dim aa(4) as Integer For i=0 to 3 aa(i)=aa(i) +4 Next i
Print aa(1) End Sub
上面程序输出结果是______。
答案: 1:4
等级:2 难度:2
知识点:VB知识点/数组应用举例
118、Private Sub Command1_Click() Dim aa(4) as Integer For i=0 to 3 aa(i)= i Next i
Print aa(1) End Sub
上面程序输出结果是______。
答案: 1:1
等级:2 难度:2
知识点:VB知识点/数组的基本操作
119、Private Sub Command1_Click() Dim aa(4) as Integer For i=1 to 4 aa(i)= i+1 Next i
Print aa(1) End Sub
上面程序输出结果是______。
答案: 1:2
等级:2 难度:2
知识点:VB知识点/数组的基本操作
120、Private Sub Command1_Click() Dim aa(4) as Integer For i=1 to 4 aa(i)= i+1 Next i
Print aa(2) End Sub
上面程序输出结果是______。
答案: 1:3
等级:2 难度:2
知识点:VB知识点/数组的基本操作