软件水平考试程序员易错题(2017/8/28) |
第1题:二进制语言是属于( )
A、面向机器语言 B、面向问题语言 C、面向过程语言 D、面向汇编语言 |
【单选题】: |
第2题:函数调用时,下列说法中不正确的是 ( )
A、若用值传递方式,则形式参数不予分配内存 B、实际参数和形式参数可以同名 C、主调函数和被调用函数可以不在同一个文件中 D、函数间传送数据可以使用外部全局变量 |
【单选题】: |
第3题:struct stu
{ int num;char name[10];int age}; void py(struct stu *p) { printf("%s\n",(*p).name);} main() { struct stu student[3]={{1001,"Sun",25}, {1002,"Ling",23}, {1003,"Shen",22}; py(student+2); } |
【分析题】: |
第4题:main()
{ int i,a[5]; for(i=0;i<<5;i++) a[i]=9*(i-2+4*(i>2))%5; for(i=4;i>=0;i--) printf("=",a[i]); } |
【分析题】: |
第5、6、7、8、9题:softwaredesignisa__(71)__process.Itrequiresacertain__(72)__off1aironthepartofthedesigner.Designcannotbelearnedfromabook.Itmustbepracticedandlearntbyexperienceandstudyofexistingsystems.Awell__(73)__softwaresystemisstraightforwardtoimplementandmaintain,easily__(74)__andreliable.Badly__(73)__softwaresystems,althoughtheymayworkare__(75)__tobeexpensivetomaintain,difficulttotestandunreliable.
71. A、create B、createD、C、creating D、creative 72. A、amount B、amounted` C、mount D、mounteD、73. A、design B、designeD、C、designing D、designs 74. A、understanD、 B、understands C、understanding D、understooD、75. A、like B、likely C、unlike D、unlikely |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |