软件水平习题练习

软件水平考试程序员易错题(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题:编写一程序,输出如下图形。
*****
*****
*****
*****
【分析题】:

 

您正在结束答题

请确认是否提交试卷?

继续做题 确认提交