有下列程序段: int k=0,a=1,b=2,c=3; k=a<bb:a; k

题型:单项选择题

问题:

有下列程序段:
int k=0,a=1,b=2,c=3;
k=a<bb:a; k=k>cc:k;
执行该程序段后,k的值是( )。

A.3

B.2

C.1

D.0

考点:计算机等级考试C语言二级C语言笔试
题型:单项选择题

1)#include < iostream >

2)#include < cmath >

3)using namespace std;

4)double max(double x,doubley)

5){

6)if(x>y)

7)return x;

8)else

9)return y;

10)}

11)int main()

12){

13)doublea,b,c;

14)cout <<" input two numbers:\n";

15)cin >> a >> b;

16)c=max(a,b);

17)cout <<" the squart of max imum="<< sqrt( c );

18)}

执行第15行时,若输入“8空格9回车”,则执行完第16行后,变量c的值是:()

A.8

B.8.0000000000000000

C.9

D.9.0000000000000000

题型:单项选择题
Dear Dad,
I was very upset when I received your letter. I knew you  46 not like my results, but I didn’t realize you and Mum were so  47 with me. This has made me  48 very carefully about myself, and now I  49  how silly I have been.
My poor  50 have come from my own  51 . Of course, I want to do my best. I want you and Mum to be proud  52  me, but somehow when I get to school I just can’t keep my   53  on the subject and I stop  54  the teacher. So many other things seem so much more  55 , but I know that I must not  56 the chance you and Mum have given me. If I don’t work very hard  57  the next few months, I am going to get  58 results. So I am going to study hard this summer. And I will show Mum anything  59 I can’t understand so that she can give me help.
I  60 you will allow me to play some basketball. I think I need some exercise,   61 _ I will control the time I   62 on it properly.
If you want me to stop meeting Cindy, I will — but there is  63 serious. We are just good friends, and she often helps me  64 my schoolwork.
Dad, I am really sorry I have made you angry. I’m going to try my best to  65 my study. I promise that I will make you proud of me soon.
Yours,
Jimmy
小题1:
A.willB.wouldC.needD.should
小题2:
A.angryB.upsetC.strictD.happy
小题3:
A.talkB.speakC.thinkD.hear
小题4:
A.receiveB.believeC.insistD.realize
小题5:
A.resultsB.memoriesC.parentsD.friends
小题6:
A.stubbornnessB.carelessnessC.lazinessD.illness
小题7:
A.ofB.withC.inD.for
小题8:
A.headB.mindC.eyesD.heart
小题9:
A.listening toB.to listen toC.hearingD.to hear
小题10:
A.boringB.dullC.beautifulD.interesting
小题11:
A.findB.shareC.wasteD.afford
小题12:
A.duringB.atC.throughD.until
小题13:
A.betterB.bestC.poorerD.poorest
小题14:
A.whichB.thatC.whomD.what
小题15:
A.wishB.adviseC.hopeD.decide
小题16:
A.andB.butC.soD.because
小题17:
A.spendB.takeC.costD.pay
小题18:
A.everythingB.somethingC.anythingD.nothing
小题19:
A.inB.onC.withD.by
小题20:
A.developB.improveC.interestD.finish
题型:单项选择题

一定条件下硝酸铵受热分解的未配平化学方程式为:NH4NO3-HNO3+N2+H2O,在反应中被氧化与被还原的氮原子数之比为(  )

A.5:3

B.5:4

C.1:1

D.3:5

题型:单项选择题

本建设程序,也就是在基本建设工作中必须遵循的()。

题型:单项选择题

指出下列电气图形符号为何设备和元件。

更多题库