软件水平考试程序员易错题(2017/12/26) |
第1、2、3、4、5题: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 |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |
第6题:定义一个具有10个元素的整型数组,应当使用语句( )
A、int a[10]; B、int a[2,5]; C、int a[]; D、int *a[10]; |
【单选题】: |
第7题:执行下列程序后的输出结果是( )
int fun(int x1,int x2) { int x;x1>x2?(x=3):(x=4);return(x+x1); } main() { printf("%d\n",fun( 7,8));} A、9 B、10 C、11 D、12 |
【单选题】: |
第8题:# include"stdio.h"
main() { char c; while((c=getchar())!=’\n’) switch(c) {case ’0’: case’1’: putchar(c); case’2’:putchar(c);break; case’3’:putchar(c); default:putchar(c+1);break; } printf("\n"); } 假定本程序执行时输入:1357/(其中的/代表回车换行符)。 |
【分析题】: |
第9题:编写一程序,输出如下图形。
***** ***** ***** ***** |
【分析题】: |