单项选择题

如果一个变量未经定义就直接使用,则该变量的类型为

A.Integer
B.Byte
C.Boolean
D.Variant
<上一题 目录 下一题>
热门 试题

单项选择题
假设线性表的长度为n,则在最坏情况下,冒泡排序需要的比较次数为
A.log2n
B.n2
C.On1.5
D.n(n-1)/2
单项选择题
设已经在“菜单编辑器”中设计了窗体的快捷菜单,其顶级菜单为Bs,取消其“可见”属性,运行时,在以下事件过程中,可以使快捷菜单响应鼠标右键菜单的是
A.Private Sub Form_MouseDown(Button As Integer,Shift As Integer,
X As Single,Y As Single)
If Button=2 Then PopupMenu Bs,2
End Sub
B.Private Sub Form_Mouse Down(Button As Integer,Shift As Integer,
X As Single,Y As Single)
PopupMenu Bs
End Sub
C.Private Sub Form_MouseDown(Button As Integer,Shift As Integer,_
X As Single,Y As Single)
PopupMenu Bs,0
End Sub
D.Private Sub Form_MouseDown(Button As Integer,Shift As Integer,_
X As Single,Y As Single)
If(Button=VbLeftBuaon)Or(Button=VbRighButton)Then PopupMenu Bs
End Sub
相关试题
  • 有如下事件过程: Private Sub Form Ac...
  • 下面程序的功能是统计字符串中“i”的个数...
  • 下列程序的功能是:将数据1,2,..,8...
  • 下列事件过程的功能是:建立一个名为Datal...
  • 如果存在如下过程: Private Function F...