模拟试题

3773考试网计算机等级考试模拟试题正文

2010年3月计算机等考二级VB模拟题及解析(2)

来源:fjzsksw.com 2010-1-28 15:57:20

  (26) 设有声明语句

  Option Base 1

  Dim b(-1 To 10, 2 To 9, 20) As Integer

  则数组b中全部元素的个数

  A) 2310

  B) 1920

  C) 1500

  D) 1658

  正确答案: B

  (27) 单击命令按钮,下列事件过程的执行结果为

  Private Sub Command1_Click()

  Dim x As Integer, y As Integer

  x=40: y=72

  Call PtoP(x, y)

  Print x; y

  End Sub

  Public Sub PtoP(Byval n As Integer, ByVal m As Integer)

  n=n \ 10+2

  m=m \ 10+2

  End Sub

  A) 0 8

  B) 40 72

  C) 4 50

  D) 78 50

  正确答案: B

 

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]  ... 下一页  >> 

触屏版 电脑版
3773考试网 琼ICP备12003406号-1