数组声明为Dim A(3,-2 to 2,5),则数组A包含()个元素。A、200B、120C、75D、60
数组声明为Dim A(3,-2 to 2,5),则数组A包含()个元素。
- A、200
- B、120
- C、75
- D、60
相关考题:
( 31 )下列数组声明语句中,正确的是A ) dim A[3,4] As integerB ) dim A(3,4) As integerC ) dim A[3;4] As integerD ) dim A(3;4) As integer
1个二维数组可以存放1个矩形.在程序开始有语句Option Base 0,则下面定义的数组中正好可以存放1个4*3矩阵(即只有12个元素)的是( )。A.Dim a(-2 To 0,2) AS IntegerB.Dim a(3,2) AS IngegerC.Dim a(4,3)AS IngegerD.Dim a(-1 To -4,-1 To -3)AS Ingeger
—个二维数组可以存放—个矩阵。在程序开始有语句Option Base0,则下面定义的数组中正好可以存放—个4×3矩阵(即只有12个元素)的是______。A.Dim a(-2 To 0,2)As IntegerB.Dima(3,2)As IntegerC.Dim a(4,3)As IntegerD.Dim a(-1 To -4,-1 To -3)As Integer
( 15 ) 1 个二维数组可以存放 1 个矩形 . 在程序开始有语句 Option Base 0, 则下面定义的数组中正好可以存放 1 个 4*3 矩阵(即只有 12 个元素)的是( )A ) Dim a ( -2 To 0,2 ) AS IntegerB ) Dim a ( 3,2 ) AS IngegerC ) Dim a ( 4,3 ) AS IngegerD ) Dim a ( -1 To -4,-1 To -3 ) AS Ingeger
下列数组声明语句中,正确的是( )。A.Dim A[3,4] As IntegerB.Dim A(3,4) As IntegerC.Dim A[3;4] As IntegerD.Dim A(3;4) As Integer
下面的数组声明语句中( )是正确的。A.Dim A[3,4]As IntegerB.Dim A(3,4)As IntegerC.Dim A[3;4]As IntegerD.Dim A[3;4]As Integer
下列哪个语句定义了包含12个元素的整型数组( )。 A、Dim a(3,4) As IntegerB、Dim a(1 to 12)%C、Dim a%(-1 to 1,3)D、Dim a(1 to 2,3 to6) As Long
下列哪个语句定义了包含8个元素的单精度数组( ) A、Dim a(2,4) As Single3CB、 Dim a(1 to 8)!C、Dim a!(7)D、 Dim a(1 to 2,3 to 6) As Long
如下数组声明语句,正确的是( )。A. Dim a[3, 4] As IntegerB. Dim a(34) As IntegerC. Dim a(n,n) As IntegerD. Dim a(3,4) As Integer
以下定义数组或给数组元素赋值的语句中,正确的是A.Dim a As Variant a=Array(1,2,3,4,5)B.Dim a (10) As Integer a=Array(1,2,3,4,5)C.Dim a%(10) a(1)="ABCDE"D.Dim a (3),b(3) As Integer a(0)=0 a(1)=1 a(2)=2 b=a
以下定义数组或给数组元素赋值的语句中,正确的是A.Dim x%(2) x(1)="等级考试"B.Dim x(3), y(3)As Integer x(0)=1:y=xC.Dim x x=Array(0,1,2)D.Dim x(3)As Integer x=Array(0,1,2)
用Dim arr(3 To 5,-2 To 2)语句定义的数组元素个数是( )。A.20B.12C.15SXB 用Dim arr(3 To 5,-2 To 2)语句定义的数组元素个数是( )。A.20B.12C.15D.24
下列数组声明语句中,正确的是( )。 A.Dim A[3,4]As IntegerB.Dim A(3,4)As IntegerS 下列数组声明语句中,正确的是( )。A.Dim A[3,4]As IntegerB.Dim A(3,4)As IntegerC.Dim A[3;4]As IntegerD.Dim A(3;4)As Integer
下面的语句用Array函数为数组a的各元素赋整数值: a=Array(1,2,3,4,5,6,7,8,9) 对数组变量a的正确定义是A.Dim aB.Dim a As IntegerC.Dim a(9) As IntegerD.Dim a() As IntegEr
以下定义数组或给数组元素赋值的语句中,正确的是( )。A.Dim a As Varianta=Array(1,2,3,4,5)B.Dim a(10) As Integera=Array(1,2,3,4,5)C.Dim a%(10)a(1)="ABCDE"D.Dim a(3),b(3) As Integera(0)=0a(1)=1a(2)=2b=a
如果不使用Option Base语句,则下面数组说明语句等效的有()A、Dim A(0to8,0to3)B、Dim A(1to8,1to3)C、S Dim A(7,2)D、Dim A(8,3)
要分配一个3×3的单精度类型的数组,正确的数组声明语句是()A、Dim a(9)AsSingleB、Dim a(-1 To 1,-5 To -3)As SingleC、Dim a(3,3)As SingleD、Dim a(-3 To 1,-5 To 7)As Single
VB中将变量x1声明为Excel应用程序对象的方法是()。A、Dim x1 As Excel.ApplicationB、Dim x1 As Excel.WorkbookC、Dim x1 As Excel.WorksheetD、Dim x1 As Excel.Worksheets
如下数组声明语句,正确的是()。A、Dim a[3,4] as IntegerB、Dim a(3,4)as IntegerC、Dim a(n,n)as IntegerD、Dim a[3][4]as Integer
单选题数组声明为Dim A(3,-2 to 2,5),则数组A包含()个元素。A200B120C75D60