
【名词&注释】
可执行文件(executable file)、大小写、标题栏(title bar)、默认值(default value)、返回值、单精度浮点数、“最大化”、“最小化”、执行命令(executive command)、下划线(underline)
[填空题]确定列表框内的某个条目是否被选定应使用的属性是
查看答案&解析
点击获取本科目所有试题
举一反三:
[单选题]为了,c造窗体的大小可以改变,必须把它的BorderStyle属性设置为( )。
A. 4
B. 3
C. 2
D. 1
[单选题]下列属于合法的Java标识符是( )。
A. _cat
B. 5books
C. +static
D. -3.14159
[单选题]以下非法的赋值语句是
A. n=(i=2,++i);
B. j++;
C. ++(i+1);
D. x=j>0;
[单选题]下列( )代表单精度浮点数。
A. 0652
B. 3.4457D
C. 0.298f
D. 0L
[单选题]有以下程序: #includestring.h> int a=4; int f(int n) {int t=0;static int a=5; if(n%2) {int a=6;t++=a++;} else{int a=7;t+=a++;} return t+a++; } main() {int s=a,i=0; for(;i2;i++)s+=f(i); printf("%d\n",s); } 程序运行后的输出结果是( )。
A. 28
B. 32
C. 36
[单选题]与语句coutendl;不等价的是( )。
A. cout‘\n’;
B. cout‘\12’;
C. cout‘\xA’;
D. cout‘\0’;
[单选题]有以下程序main(int argc,char *argv[]){ int n,i=0;while(argv[1][i]!='\0'){ n=fun(); i++;}printf("%d\n",n*argc);}int fun(){ static int s=0;s+=1;return s;}假设程序编译、连接后生成可执行文件exam.exe,若键入以下命令exam 123〈回车〉则运行结果为
A. 6
B. 8
C. 3
D. 4
本文链接:https://www.zhukaozhuanjia.com/download/v5ovk7.html