网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
语句dimarr(-3to5,2to6)asinteger定义的数组元素有()
- A、45
- B、40
- C、11
- D、54
参考答案
更多 “语句dimarr(-3to5,2to6)asinteger定义的数组元素有()A、45B、40C、11D、54” 相关考题
考题
下列数组定义错误的是()。
A、dima(10)asintegerB、dima(10,3)asshortC、dima(3)asinteger={1,2,3,4}D、dima(,)asinteger={{1,2,3},{2,3,1}}
考题
设有数组定义语句:Dima(5)AsInteger,Listl为列表框控件。下列给数组元素赋值的语句错误的是( )。A.a(3)=3B.a(3)=inputbox("inputdata")C.a(3)=Listl.ListlndexD.a=Array(1,2,3,4,5,6)
考题
用下列语句定义的数组元素个数分别为()。Dimarr1(6)AsIntegerDimarr2(2,-5To5)AsSingleDimarr3(-5To5,-1To4)A、6、33、55B、6、22、65C、7、20、50D、7、33、66
考题
下面子过程语句合法的是()A、Functionf(ByValnAsInteger)B、Functionf(ByValnAsInteger)AsIntegerC、Subf(ByValn()AsInteger)D、Subf(nAsInteger)AsInteger
考题
下面子过程语句说明合法的是()A、Subf1(ByValn()AsInteger)B、Functionf1(f1AsInteger)AsIntegerC、Subf1(n()AsInteger)AsIntegerD、Functionf1(ByValnAsInteger)AsInteger
考题
名为sort的Sub子过程的形式参数为一数组,以下的定义语句中正确的是()A、PrivateSubsort(A(,)AsInteger)B、PrivateSubsort(A()AsInteger)C、PrivateSubsort(A(10)AsInteger)D、PrivateSubsort(ByValA()AsInteger)
考题
模块的通用声明处有如下语句,会产生错误的语句是() ①ConstaasInteger=25 ②PublicStAsString*8 ③ReDimB(3)AsInteger ④DimConstXAsInteger=10A、①③B、①②③C、②③④D、①②
考题
已知整型数组a(12),若要在过程调用后返回其元素最大值的下标,下面的过程定义语句合法的是()A、PrivateFunctionmx(a()AsInteger)AsIntegerB、PrivateFunctionmx(ByVala(12)AsInteger)AsIntegerC、PrivateFunctionmx(a(12)AsInteger)AsIntegerD、PrivateFunctionmx(ByVala()AsInteger)AsInteger
考题
在窗体模块的通用声明处有如下语句,会产生错误的语句是() ①ConstaasInteger=25 ②PublicStAsString*8 ③ReDimB(3)AsInteger ④DimConstXAsInteger=10A、①③B、②③④C、①②③D、①②
考题
下列有关数组的说法中,不正确的是()A、语句DimX(3.6+2)AsInteger定义了一个维上界是6的一维的整型数组B、形参数组的类型可以是定长符串类型C、可以使用Erase语句释放所有数组所占据的存储储空间D、在窗体模块中不可以定义全局数据组
考题
单选题下面子过程语句合法的是()A
Functionf(ByValnAsInteger)B
Functionf(ByValnAsInteger)AsIntegerC
Subf(ByValn()AsInteger)D
Subf(nAsInteger)AsInteger
考题
单选题用下列语句定义的数组元素个数分别为()。Dimarr1(6)AsIntegerDimarr2(2,-5To5)AsSingleDimarr3(-5To5,-1To4)A
6、33、55B
6、22、65C
7、20、50D
7、33、66
考题
单选题下面子过程语句说明合法的是()A
Subf1(ByValn()AsInteger)B
Functionf1(f1AsInteger)AsIntegerC
Subf1(n()AsInteger)AsIntegerD
Functionf1(ByValnAsInteger)AsInteger
考题
单选题在窗体模块的通用声明处有如下语句,会产生错误的语句是() ①ConstaasInteger=25 ②PublicStAsString*8 ③ReDimB(3)AsInteger ④DimConstXAsInteger=10A
①③B
②③④C
①②③D
①②
考题
单选题模块的通用声明处有如下语句,会产生错误的语句是() ①ConstaasInteger=25 ②PublicStAsString*8 ③ReDimB(3)AsInteger ④DimConstXAsInteger=10A
①③B
①②③C
②③④D
①②
考题
单选题名为sort的Sub子过程的形式参数为一数组,以下的定义语句中正确的是()A
PrivateSubsort(A(,)AsInteger)B
PrivateSubsort(A()AsInteger)C
PrivateSubsort(A(10)AsInteger)D
PrivateSubsort(ByValA()AsInteger)
考题
单选题语句Dim arr(-3 To 5,2 To 6)As Integer定义的数组元素有()个。A
45B
40C
11D
54
热门标签
最新试卷