软件水平考试程序员易错题(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.表达式出错 |
【单选题】: |