• 2022-06-07
    下列数组声明初始化语句,________是正确的。
    A: Dim a( ) As Single={1,2,3,4,5,6,7,8,9,10}
    B: Dim a(9) As Single={1,2,3,4,5,6,7,8,9,10}
    C: Dim a() As Single={1,”a”,”bc”,4,5,6,7,8,9,10}
    D: Dim a( , ) As Integer={1,2,3,4,5,6,7,8,9,10}
    E: Dim a( ) As Integer=(1,2,3,4,5,6,7,8,9,10)
  • A

    举一反三

    内容

    • 0

      当执行下面的语句定义一维数组a后,此数组的所有元素为 ( ) inta[10]; A.a[1],a[2],a[3],a[4],a[5],a[6],a[8],a[9],a[10],a[10] B.a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9] C.a[0],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10] D.a[1],a[2],a [3],a[4],a [5],a [9],a [7],a [8],a [9],a [10],a [11]

    • 1

      下列数组声明初始化语句,________是正确的。 A: Dim a( ) As Single={1,2,3,4,5,6,7,8,9,10} B: Dim a(9) As Single={1,2,3,4,5,6,7,8,9,10} C: Dim a() As Single={1,”a”,”bc”,4,5,6,7,8,9,10} D: Dim a( , ) As Integer={1,2,3,4,5,6,7,8,9,10} E: Dim a( ) As Integer=(1,2,3,4,5,6,7,8,9,10)

    • 2

      下列数组声明初始化语句,________是正确的。 A: Dim a( ) As Single={1,2,3,4,5,6,7,8,9,10} B: Dim a(9) As Single={1,2,3,4,5,6,7,8,9,10} C: Dim a() As Single={1,”a”,”bc”,4,5,6,7,8,9,10} D: Dim a( , ) As Integer={1,2,3,4,5,6,7,8,9,10} E: Dim a( ) As Integer=(1,2,3,4,5,6,7,8,9,10)

    • 3

      下列数组声明初始化语句,________是正确的。 A: Dim a( ) As Single={1,2,3,4,5,6,7,8,9,10} B: Dim a(9) As Single={1,2,3,4,5,6,7,8,9,10} C: Dim a() As Single={1,”a”,”bc”,4,5,6,7,8,9,10} D: Dim a( , ) As Integer={1,2,3,4,5,6,7,8,9,10} E: Dim a( ) As Integer=(1,2,3,4,5,6,7,8,9,10)

    • 4

      【计算题】5 ×8= 6×4= 7×7= 9×5= 2×3= 9 ×2= 8×9= 7×8= 5×5= 4×3= 5+8= 6 ×6= 3×7= 4×8= 9×3= 1 ×2= 9×9= 6×8= 8×0= 4×7=