软件水平考试程序员易错题(2018/4/21) |
第1题:循环语句“for(x=0, y=0;(y!=123)||( x<4);x++);”的循环执行( )
A、无限次 B、不确定次 C、4次 D、3次 |
【单选题】: |
第2题:编函数计算并返回m行6列整型数组a周边元素之和(即第1行、第m行、第1列、第6列上元素之和,但是重复元素只参加1次求和)。数组名a和m、n作为函数参数。 |
【分析题】: |
第3题:设有定义语句“char ch='\77';”,则下列说法中正确的是( )
A、ch中含有1个字符 B、ch中含有2个字符 C、ch中含有3个字符 D、语法出错 |
【单选题】: |
第4题:编程序输入50个学生的学号、姓名、3门课程的成绩存入一个结构型的数组。统计每个学生的总分并输出学生的学号、姓名、总分。 |
【分析题】: |
第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 |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |
【单选题】: |