软件水平习题练习

软件水平考试程序员易错题(2019/7/16)
1、2、3、4题:设有如下两个关系U和V,则U|X|V运算结果的元组个数是__(36)__,属性个数是__(37)__;
U|X|V运算结果的元组个数是__(38)__,属性个数是__(39)__。
2=1

U:
A
B
B
V:
B
C
D、
3
2
1
2
4
3
6
5
4
2
6
4
9
8
7
8
0
7

8
7
9

36.
A、1
B、2
C、3
D、4
37.
A、6
B、5
C、4
D、3
38.
A、1
B、2
C、3
D、4
39.
A、6
B、5
C、4
D、3
【单选题】:      
【单选题】:      
【单选题】:      
【单选题】:      

5题:假定a和b为int型变量,则执行以下语句后b的值为( )
a=1; b=10;
do b-=a; a++;
}while<(b--<0);
A、9
B、-2
C、-1
D、8
【单选题】:      

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

11题:int p(m,n)
int m,n;
{ int i,pp;
for(i=pp=1;i
PP*= m;
return(pp);

main()
{ printf("%d"、 p(3,4));
【分析题】:

12题:下列符号串中,合法的十进制整型常量是( )
A、09876
B、0x9876
C、9.876*e4
D、-9876
【单选题】:      

 

您正在结束答题

请确认是否提交试卷?

继续做题 确认提交