模拟试题

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

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

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

 

  (28) 下列程序的执行结果为

  Private Sub Command1_Click()

  Dim p As Integer, q As Integer

  p=12: q=20

  Call Value(p, q)

  Print p; q

  End Sub

  Private Sub Value(ByVal m As Integer, ByVal n As Integer)

  m=m * 2: n=n - 5

  Print m; n

  End Sub

  A)20 12

  20 15

  B)12 20

  12 25

  C)24 15

  12 20

  D)24 12

  12 15

  正确答案: C

 

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

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