以下语句执行时,从键盘上输入Zhang,执行结果是______。 Dim a As String a=InputBox("Input","","Name") Print a
A.Input
B.Name
C.Zhang
D.空字符串
第1题:
A、字符串"20"
B、字符串"120"
C、默认值100
D、数值120
第2题:
以下程序运行时,输入3和4后输出的结果是______。 Private Sub Command1_Click() a=InputBox(“请输入a的值”) b=InputBox(“请输入b的值”) Print a+b End Sub
A.3+4
B.7
C.34
D.12
第3题:
以下程序段运行时从键盘上输入字符“-”,则输出结果为 op$=InputBox("op=") If op$="+" Then a=a+2 If op$="-" Then a=a-2 Print a
A.2
B.-2
C.0
D.+2
第4题:
若执行以下程序时从键盘上输入9,则输出结果是( )。

A.11
B.10
C.9
D.8
第5题:
设有如下语句:strl=InputBox(“输入”,“”,“练习”)从键盘上输人字符串“示例”后,strl的值是______。
A.“输入”
B.“”
C.“练习”
D.“示例”