A: Dim b&
B: dim c
C: Dim a%
D: Dim d$
举一反三
- 在过程中可以使用______语句定义变量。 A: Dim、 Private B: Dim、Static C: Dim、Public D: Dim、Static、Private
- 如果在程序中要将变量a定义为整形变量,则应使用的语句是 A: Dim a as Double B: Dim a as String C: Dim a as Integer D: Dim a as Boolean
- 定义有5个整型元素的数组,正确的语句是( )。 A: Dim a%(5) B: Option base 1:Dim a%(5) C: Dim a&(4) D: Dim a(5)
- 下面定义整型变量的是_____。 A: Dim num B: C: Dim num$ D: Dim num! E: Dim num%
- 下列数组定义中错误的是______。 A: Dim a(-5 To-3) B: Dim a(3 To 5) C: Dim a(-3 To-5) D: Dim a(-3 To 3)
内容
- 0
下列定义画布对象正确的是__________。 A: Dim g As Graphics = Me.CretateGraphics() B: Dim g As Me.CretateGraphics() C: Dim g As CretateGraphics D: Dim g As Graphics.Me.CretateGraphics
- 1
下列数组声明语句,正确的是()。 A: Dim a[3,4] As Integer B: Dim a(3 4) As Integer C: Dim a(n,n) As Integer D: Dim a(3,4) As Integer
- 2
下列数组声明初始化语句,( )是正确的。 A: Dim a( ) As Single={1,2,3,4,5} B: Dim a( , ) As Integer={1,2,3,4,5,6,7,8,9,10} C: Dim a( ) As Integer=(1,2,3,4,5) D: Dim a(4) As Single={1,2,3,4,5}
- 3
下列数组声明语句,________是正确的。 A: Dim a(2,3) As Integer B: Dim a(m,n) As Integer C: Dim a(2 3) As Integer D: Dim a[3,2] As Integer
- 4
下列数组声明初始化语句,________是正确的。 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)