
【名词&注释】
数据类型(data type)、掌握情况、文件名(file name)、文件列表框(file list box)、修饰符(modify symbol)、分隔符(separator)
[单选题]VBA程序的多条语句写在一行中时其分隔符(separator)必须使用符号( )。
A. 冒号(:)
B. 分号(;)
C. 逗号(,)
D. 单引号(’)
查看答案&解析
举一反三:
[单选题]在窗体上画一个名为Command1的命令按钮,其Command1_Click事件过程如下:
A. Sub Command1_Click()
B. Dim student As studtype
C. Dim record_no As Integer
D. record_no=1
E. With student
F. .ino=12
G. .strname="smith"
H. .strsex="男"
I. .smark=89
J. End With
K. _______
L. Put 1,record_no,student
M. Close 1
N. End Sub
O. 要求在c: \的随机文件student.dat写入一条记录。应在程序中空行处填以下哪条语句使该功能完整
P. Open "c: \student.dat"For Input As 1 len(student)
Q. Open "c: \student.dat"For random As 1 len(student)
R. Open "c: \student.dat"For Output As 1 len(student)
S. Open "c: \student.dat"For Append As 1 len(student)
[单选题]在窗体上画一个名称为File1的文件列表框,并编写如下程序:
A. Private Sub File1_DblClick()
B. x=Shell(File1.FileName,1)
C. End Sub
D. 以下关于该程序的叙述中,错误的是( )。
E. x没有实际作用,因此可以将该语句写为:Call Shell(File1,FileName,1)
F. 双击文件列表框中的文件,将触发该事件过程
G. 要执行的文件的名字通过File1.FileName指定
H. File1中显示的是当前 驱动 器、当前目录下的文件
[单选题]下列选项成员变量声明正确的是
A. public protected final int i;
B. abstract class F1{...}
C. private double height;
D. double weight{}
本文链接:https://www.zhukaozhuanjia.com/download/nly8l0.html