软件水平习题练习

软件水平考试程序员易错题(2018/8/21)
1题:编写一程序,输出如下图形。
*****
*****
*****
*****
【分析题】:

2题:下列关于结构型变量的定义语句中,错误的是( )
A、typedef structCCC
B、#define GGG struct
{ char name[20];GGGCCC、{ char name[20];
int age; int age;
}GGG;           };
GGG abc ; GGGCCC、abc;
C、struct
D、struct
{ char name[20]; { char name[20];
int age; int age;
}ccc;        }abc;
CCC、abc;
【单选题】:      

3题:设有定义语句“int a[]={2, 4,6,8,10},*p=s;”,则值为8的表达式是( )
A、*p+3
B、*p+4
C、*(p+4)
D、*(s+3)
【单选题】:      

4、5、6、7、8题: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
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      

9题:使用“Scanf("X=%f,y=%f",&x,&y)”,要使 X,y均为1.25,正确的输入是( )
A、1.25,1.25
B、1.25 1.25
C、x=1.25,y=1.25
D、X=1.25 y=1.25
【单选题】:      

 

您正在结束答题

请确认是否提交试卷?

继续做题 确认提交