单选题下面语句中能够打开随机文件的是
单选题设窗体上有一个标签Label1和一个计时器Timer1,Timer1的Interva1属性被设置为1000,Eeabled属性被设置为True。要求程序运行时每秒在标签中显示一次系统当前时间。以下可以实现上述要求的事件过程是______。
单选题当变量x=2,y=5时,以下程序的输出结果为( )。 Do Until y>5 x=x*y y=y+1 Loop print x
单选题设有菜单结构如表所示 表1 菜单结构
单选题下列模式中, ______ 是用户模式。 A) 内模式 B) 外模式 C) 概念模式 D) 逻辑模式
单选题为了使命令按钮的Picture、DownPicture或DisabledPicture属性生效,必须把它的Style属性设置为
单选题设x=10,y=20,z=30。要按如下的格式将x,y,z的值写入顺序文件中该使用语句____。
单选题设在窗体中有一个名称为List1的列表框,其中有若干个项目(见下图)。要求选中某一项后单击Command1按钮,就删除选中的项,则正确的事件过程是______。
单选题某二叉树共有400个结点,其中有100个度为1的结点,则该二叉树中的叶子结点数为______。
单选题下列选项中,不是字符串常量的是______。
单选题在用Open语句打开文件时,如果省略“For方式”,则打开的文件的存取方式是( )。
单选题如果要在语句:a=Array(1,2,3,4,5) 的前面声明变量a,则正确的声明是( )。
单选题在窗体上画一个名称为Command1的命令按钮,然后编写如下程序代码:Option Base 1Dim arr() As IntegerPrivate Sub Command1_Click() Dim i As Integer, j As Integer Dim s As Integer ReDim arr(4, 2) s = 0 For i = 1 To 3 For j = 1 To 2 arr(i, j) = i + j Next j Next i ReDim Preserve arr(4, 4) For j = 3 To 4 arr(3, j) = j + 10 Next j For i = 1 To 4 s = s + arr(i, i) Next i Print sEnd Sub程序运行过程中,当单击Command1时,输出结果为( )。
单选题下列程序段执行后,输出的结果是______。
For k1=0 To 4
y=20
For k2=0 To 3
y=10
For k3=0 To 2
y=y+10
Next k3
Next k2
Next k1
Print y
单选题下列过程定义正确的是______。
单选题在窗体上画一个组合框,一个命令按钮和一个文本框,其名称分别为Combol,Commandl和Text1,然后编写如下事件过程:
Private Sub Form_Load() Combol.Addltem"AAAAA"
Combol.Addltem"BBBBB" Combol.Addltem"CCCCC"
Combol.Addltem"DDDDD" Combol.Addltem"EEEEE"
End Sub
程序运行后,如果单击命令按钮,则在文本框中显示组合框的项目“CCCCC”。为了实现该操作,在命令按钮的Click事件过程中应使用的语句为______。
A.Text1.Text=Combo1.List(2)
B.Text1.Text=Combo1.Text
C.Text1.Text=Combo1.List(3)
D.Text1.Text=Combo1.Listlndex
单选题以下自定义数据类型的语句中,正确的是______。
A.Type student ID As String*20 name As String*10 age As Integer End student
B.Type student ID As String*20 name As String*10 age As Integer End Type
C.Type student ID As String name As String age As Integer End student
D.Type ID As String*20 name As String*10 age As
Integer End Type student
单选题窗体文件中的信息是( )和其他信息。
单选题下面控件中,没有Caption属性的是
单选题以下合法的VB变量名是
