软件水平考试程序员易错题(2018/10/26) |
第1题:如果某个函数在定义时,省略了存储类型,则默认的存储类型是( )
A、auto B、void C、extern D、static |
【单选题】: |
第2题:设有定义“int x=8,y,z;”,则执行“y=z=x++,x=y==z;”后,变量x值是( )
A、0 B、1 C、8 D、9 |
【单选题】: |
第3题:存储整型数据-7856时,在二进制文件和文本文件中占用的字节数分别是( )
A、2和2 B、2和5 C、5和5 D、5和2 |
【单选题】: |
第4题:int p(m,n)
int m,n; { int i,pp; for(i=pp=1;i PP*= m; return(pp); } main() { printf("%d"、 p(3,4)); } |
【分析题】: |
第5、6、7、8、9题: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 |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |