假定x的值为5,则在执行以下语句时,其输出结果为"Result"的正确表示Select Case语句是( )
A. Select Case x Case 1 To 10 Print "Result" End Select
B. Select Case x Case Is>5,Is<5 Print "Result" End Select
C. Select Case x Case Is>5,1,3 To 4 Print "Result" End Select
D. Select Case x Case 1,3,Is>5 Print "Result" End Select
查看答案
以下程序段的输出结果是( )A=Sqr(3)b=Sqr(2)c=a>bPrint c
A. -1
B. 0
C. FALSE
D. TRUE
在窗体上画一个命令按钮,然后编写如下事件过程:Private Sub Command1_Click( )a=InputBox$("Enter the First integer")b=InputBox$("Enter the Second integer")Print a+bEnd Sub程序运行后,单击命令按钮,先后在两个输入对话框中分别输入123和456,则输出结果是( )
A. 579
B. 123
C. 456
D. 123456
执行如下语句:a=inputBox("Today","Tomorrow","Yesterday",,,"Day before yesterday",5)将显示一个输入对话框,在对话框的输入区中显示的信息是( )
A. Today
B. Tomorrow
C. Yesterday
Day before yesterday
设a、b、c为整型变量,其值分别为1、2、3,以下程序段的输出结果是( )A=b:b=c:c=aPrint a;b;c
A. 1 2 3
B. 2 3 1
C. 3 2 1
D. 2 3 2