单项选择题
单击命令按钮时,下列程序的执行结果是( )。 Private Sub Commandl_Click( ) BT 4 End Sub PriVate Sub BT(x As Integer) X=X * 2 + 1 If x <6 Then Call BT(x) End If X=x * 2 Print x; End Sub
A.15
B.16
C.17
D.18
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
新建一个窗体,其Borderstyle属性设置为Fixed Single,但运行时却没有最大化和最小化按钮,可能的原因是 ( )。
A.默认情况下,属性Visible的值为False
B.如果设置控件的Visible属性为False,则运行时控件会隐藏
C.Visible的值可设为True或者False
D.设置Visible属性同设置Enabled属性的功能是相同的,都是使控件处于失效状态
点击查看答案&解析
单项选择题
下列程序段的执行结果为( )。a=95If a > 60 Then degree=1If a > 70 Then degree=2If a > 80 Then degree=3If a > 90 Then degree=4Print degree= ;degree
A. 8 9
B. 9 8
C. 程序有错误
D. 9 9
点击查看答案&解析
相关试题
把窗体的KeyPreView属性设置为True,并编写...
下列程序的输出结果为【 】。num=2While...
如图所示,在列表框List1中已经有若干人的...
在名称为Form1的窗体上画一个文本框,其名...
执行语句Open TC.dat For Random As ...