软件水平习题练习

软件水平考试程序员易错题(2015-12-11)
1题:实现不同的作业处理方式(如:批处理、分时处理、实时处理等),主要是基于操作系统对__(27)__管理采用了不同的策略。
27.
A、处理机
B、存储
C、设备
D、文件
【单选题】:      

2题:正确的C语言标识符是( )
A.num(10)
B.file bak
C.continue
D.class+2
【单选题】:      

3题:conv(b)
int b;
{ if(b>=2)conv(b/2);
printf("%d",b%2);
return;

main()
{ int d;
scanf("%d",&d);
conv(d);

说明:本程序执行时从键盘上输入:22后跟回车键。
【分析题】:

4题:字符串”XyZ”在内存占用的字节数是( )
A.3
B.4
C.6
D.8
【单选题】:      

5题:设Ch是Char型变量,其值为’A’,则下面表达式的值是( )
ch=(ch>=’A’&&ch<=’Z’)?(ch+32):ch
A.’A’
B.’a’
C.’Z’
D.’z’
【单选题】:      

6题:存储整型数据-7856时,在二进制文件和文本文件中占用的字节数分别是( )
A.2和2
B.2和5
C.5和5
D.5和2
【单选题】:      

7题:在SQL中,外模式一级数据结构的基本单位是__(33)__。
33.
A、基本表
B、视图
C、ER图
D、用户表
【单选题】:      

8题:若整型变量x的值为8,则下列表达式中值为1的表达式是( )
A.x+=x-=x=x
B.x%=x-1
C.x%=x%=3
D.x/=x+x
【单选题】:      

9、10、11、12、13题:An instruction is made up of operations that __(66)__ the function to be performed and operands that represent the data to be operated on .For example ,if an instruction is to perform the operation of __(67)__ two numbers ,it must know __(68)__ the two numbers are .The processor's job is to __(69)__ instructions and operands from memory and to perform each operation .Having done that ,it signals memory to send it __(70)__ instruction.
66.
A、skip
B、smile
C、smoke
D、specify
67.
A、adD、B、addeD、C、adding
D、addition
68.
A、when
B、where
C、which
D、who
69.
A、get
B、make
C、push
D、put
70.
A、ant
B、last
C、next
D、secon
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      

14题:设整型变量 a、b、c均为2,表达式 a+++b+++c++ 的结果是( )
A.6
B.9
C.8
D.表达式出错
【单选题】:      

 

您正在结束答题

请确认是否提交试卷?

继续做题 确认提交