
【名词&注释】
数据表(data table)、语法错误(syntactic error)、数据类型(data type)、初始化(initialization)、宏命令(macro command)、派生类(derived class)、头文件、小写字母、列表框(list box)、字段名(field name)
[单选题]在Visual FoxPro中,如果希望跳出SCAN … ENDSCAN循环体、执行ENDSCAN后面的语句,应使用( )。
A. LOOP语句
B. EXIT语句
C. BREAK语句
D. RETURN语句
查看答案&解析
点击获取本科目所有试题
举一反三:
[单选题]已知程序的结果为123,请填空
A. include
B. template
C. class A
D. {
E. public:
F. Tx,y,z:
G. void display(){cout $amp;void main()
H. {
I. al;
J. 【12】
K. 【13】
L. 【14】
M. al.display();
N. }
[单选题]用于显示消息框的宏命令是( )。
A. Beep
B. MsgBox
C. InputBox
D. DisBox
[单选题]若变量c为char类型,能正确判断出c为小写字母的表达式是( )
A. (c>='a')||(c='z')
B. ('a'c) and('z'>=c)
C. (c>='a')&&(c='z')
[单选题]下列语句中,获得列表框(list box)Listl中项目个数的语句是
A. x=List1.ListCount
B. x=ListCount
C. x=List1.ListIndex
D. x=ListIndex
[单选题]在下列字符序列中,合法的标识符是 ( )
A. P12&.a
B. stud_100
C. $ water.12
D. 88sum
[单选题]以下程序(程序左边的数字为符加的行号)。 1#includestr.h> 2#includestdio.h> 3main() 4{ char s[]="string"; 5puts(s); 6strcpy(s,"hello"); 7printf("%3s\n",s);}
A. 第1行有错
B. 第6行有错
C. 第7行有错
[单选题]下列类的定义中,有( )处语法错误。 class Base { public: Base(){} Base(int i) { data=i; } private: int data; }; class Derive: public Base { public: Derive(): Base(0){} Derive(int x) { d=x; } void setvalue(int i) { data=i; } private: d; }
A. 1
B. 2
C. 3
D. 4
[单选题]在数据表视图中,不能 ______。
A. 修改字段的类型
B. 修改字段的名称
C. 删除一个字段
D. 删除一条记录
本文链接:https://www.zhukaozhuanjia.com/download/5rv8ez.html