软件水平习题练习

软件水平考试程序员易错题(2019/5/27)
1题:设指针变量p1、 p2已经指向同一个数组的元素,则下列表达式中错误的是( )
A、p1=p2
B、p1==p2
C、p1-p2
D、p1+p2
【单选题】:      

2题:void f(p1,p2)
int *p1,*p2;
{ int i,j;
*p2=0;
for(i=0;i<3;i++)
for(j=i;j<3;j++)
*p2+=*(pl+i*3+j);
return;

main()
{ int a[3][3]={{1,2},{3,4},{5,6}};
int s;
f(a,&s);
printf("%d",s);
【分析题】:

3题:下列数据类型中不属于构造类型的是 ( )
A、数组型
B、结构型
C、共用型
D、枚举型
【单选题】:      

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、10、11、12、13题:视觉上对彩色的感觉有三个特征,反映颜色种类的特征叫__(21)__,反映颜色深浅程度的叫__(22)__,二者有时通称为__(23)__,另外还有一个特征叫__(24)__。
彩数(colordepth)是指__(25)__,其单位为bpp。
21.
A、色调
B、纯度
C、反差
D、色差
22.
A、色调
B、亮度
C、反差
D、饱和度
23.
A、色度
B、纯度
C、亮度
D、饱和度。
24.
A、反差
B、色差
C、亮度
D、纯度
25.
A、彩色图片数
B、画面所允许的不同彩色种数
C、彩色的数字编码
D、彩色的排序数
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      

 

您正在结束答题

请确认是否提交试卷?

继续做题 确认提交