软件水平考试程序员易错题(2019/7/23) |
第1题:二进制语言是属于( )
A、面向机器语言 B、面向问题语言 C、面向过程语言 D、面向汇编语言 |
【单选题】: |
第2、3、4、5、6题:Aninstructionismadeupofoperationsthat__(66)__thefunctiontobeperformedandoperandsthatrepresentthedatatobeoperatedon.Forexample,ifaninstructionistoperformtheoperationof__(67)__twonumbers,itmustknow__(68)__thetwonumbersare.Theprocessor'sjobisto__(69)__instructionsandoperandsfrommemoryandtoperformeachoperation.Havingdonethat,itsignalsmemorytosendit__(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 |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |
第7题:设x和y为int型变量,则执行下面的循环后,y的值为( )
for(y=l, x=l; y<=50; y++){ if(x>=10) break; if(x%2==1){ x+=5; continue;} X -= 3; } A、2 B、4 C、6 D、8 |
【单选题】: |
第8题:设有int i=010,j=10;则执行“printf("%d,%d\n",++i,j--);”的输出是( )
A、ll, 10 B、9,10 C、010,9 D、10, 9 |
【单选题】: |
第9、10、11、12、13题:下面是某种计算机的32位短浮点数格式
0 1 8 9 31 Ms E M 其中,M为用定点小数表示的尾数的绝对值,占23位;Ms是尾数的符号位,占1位;Ms和M一起表示尾数。E为用定点整数表示的阶码,占8位。若机器表示中取阶码的基数为2,求采用下列五种不同编码方式时,浮点数-123625E-3(隐含基数为10)规格化后的机器码: 阶码用补码方式、尾数用原码方式时,为__(41)__; 阶码用补码方式、尾数用反码方式时,为__(42)__; 阶码用移码方式、尾数用原码方式时,为__(43)__; 阶码用移码方式、尾数用补码方式时,为__(44)__; 阶码用移码方式、尾数用反码方式时,为__(45)__; 41. A、11000011100001000l10000000000000 B、10000011100001000l0ll11111111111 C、11000011111110000l0ll11111111111 D、100000111111l0ll1010000000000000 42. A、11000011100001000l10000000000000 B、10000011100001000l0ll11111111111 C、11000011111110000l0ll11111111111 D、100000111111l0ll1010000000000000 43. A、11000011111110111010000000000000 B、10000011100001000110000000000000 C、11000011100001000110000000000000 D、10000011100001000l0ll11111111111 44. A、11000011111110111010000000000000 B、10000011100001000110000000000000 C、11000011100001000110000000000000 D、10000011100001000l0ll11111111111 45. A、110000111111l0ll1010000000000000 B、10000011100001000110000000000000 C、10000011111110000l0ll11111111111 D、11000011100001000l0ll11111111111 |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |