
【名词&注释】
排除法(exclusive method)、关键字、掌握情况、运算符(operator)、小写字母、测试法、标识符(identifier)、换行符、下划线(underline)
[单选题]下列叙述中错误的是( )。
A. 用户所定义的标识符(identifier)允许使用关键字
B. 用户所定义的标识符(identifier)应尽量做到“见名知意”
C. 用户所定义的标识符(identifier)必须以字母或下划线(underline)开头
D. 用户定义的标识符(identifier)中,大、小写字母代表不同标识
查看答案&解析
举一反三:
[单选题]下列不属于软件调试技术的是( )。
A. 强行排错法
B. 集成测试法
C. 回溯法
D. 原因排除法
[单选题]有如下程序: Private Sub Command1_Click() Dim a As Single Dim b As Single a=5:b=4 Call Sub1(a,b) End Sub Sub Sub1(x As Single,y As Single) t=X X=t\Y Y=t Mod y End Sub 在调用运行上述程序后,a和b的值分别为
A. 0 0
B. 1 1
C. 2 2
D. 1 2
[单选题]下面函数的作用是以双倍行距输出文件:
A. void test(ifstream&outf,ofstream&outC) {
B. char c;
C. while(______){
D. ______;
E. if(c=='\n')outc.put(C) ;
F. }
G. }
H. 下划线(underline)处缺失的代码是( )。
I. outf.put(C) 与outc.get(C)
J. outf.put(C) 与outc.get(C)
K. outf.get(C) 与outc.put?
L. outf.get(C) 与outc.put?
[单选题]UPDATE语句的功能是______.
A. 属于数据定义功能
B. 可以修改表中列的内容
C. 属于数据查询功能
D. 可以修改表中列的属性
[单选题]重载输人流运算符>>必须使用的原型为( )。
A. istream&operator>>(istream&,&);
B. istream&operator>>(istream,);
C. istreamoperator>>(istream,&);
D. operator>>(istream&,&);
本文链接:https://www.zhukaozhuanjia.com/download/znvo4o.html