单项选择题
下列程序段的执行结果为 a=2 b=0 Select Case a Case 1 Select Case b Case 0 Print " * * 0 * *" Case 1 Print" * * 1 * *" End selec Case 2 Print " * * 2 * *" End Select
A.* * 0 * *
B.* * 1 * *
C.* * 2 * *
D.0
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
在窗体上画一个名称为Drive1的驱动器列表框,一个名称为Dir1的目录列表框,一个名称为File1的文件列表框,两个名称分虽为Lahel1、Label2,标题分别为空白和 共有文件 的标签。编写程序,使得驱动器列表框与目录列表框、目录列表框与文件列表框同步变化,并且在标签Label1中显示当前文件夹中文件的数量。如图所示。能够正确实现上述功能的程序是
A.Private Sub Dir1_Change( ) FilePath=Dir1.Path End Sub Private Sub Dive1_Change( ) Dir1.Path=Drive1.Drive Label1,Caption=File1 ListCount End Sub
B.Private Sub Dir1_Change( ) FilPath=Dtr1.Path End Sub privage Sub Dive1_Change( ) Dir1.path=Drive1.Drive Lahel1.Caption=File1.List End Sub
C.Private Sub Dir1_Change( ) File1. Path = DirPath Label1.Caption=File1, ListCount End Sub Private Sub Drive1_Change( ) Dir1.Path = Drive1. Drive Label1.Captiol1 = File1.ListCount End Sub(
D.Private Sub Dir1_Change( ) File Path = DirPath Label1.Caption = File1.ListCount End Sub Private Sub Dive1_Change( ) Dir1.Path = Drive1.Drive Label1.Caption = File1.List End Sub
点击查看答案&解析
单项选择题
下列叙述中,正确的是
A.软件就是程序清单
B.软件就是存放在计算机中的文件
C.软件应包括程序清单及运行结果
D.软件包括程序和文档
点击查看答案
相关试题
下面的程序的作用是利用随机函数产生10个...
下面是程序是计算给定函数的值,自变量x,y...
如果在D盘当前文件夹下已2经存在名为PIC....
在有下面一个程序段从文本框中输入数据,如...
数据库恢复是将数据库从 【4】 状态恢复...