问题 单项选择题

有定义语句:int a=1,b=2,c=3,x;,则以下选项中各程序段执行后,x的值不为3的是( )。

A.if (c<a) x=1;   else if (b<a) x=2;    else x=3;

B. if (a<3) x=3;   else if (b<a) x=2;    else x=1;

C. if (a<3) x=3;    if (a<2) x=2;   if (a<1) x=1;

D.if (a<b) x=b;   if (b<c) x=c;   if (c<a) x=a;

答案

参考答案:C

完形填空
把下列单词填入每个句子的空白处(注意所填单词的形式变化):
shake  rise  smelly  pond  burst  canal  steam  ruin  injure  destroy  brick  dam  shock  rescue  electricity  disaster  organize  bury  mine  shelter  fresh    speech   judge   honour   prepare 
1 Let me write it down while it is still _________ in my mind.
2 Without __________ our life would be quite different today.
3 He got _________ in the right leg while playing foofball last week.
4 When an earthquake comes people can feel the house _________.
5 At Jerry’s party, Mr Smith delivered an amusing _________.
6 If a nuclear war should break out, it would bring a great _________ to man.
7 Most of the buildings _________ in the earthquake.
8 From yesterday on the temperature began to _________.
9 Never _________ a person only by his clothes.
10 Our class went on an _________ trip last Monday.
11 Stones and _________ are used to build a house.
12 The water in the small _________ froze and kids skated on it.
13 The clothes of those who smoke a lot are often __________.
14 Li Siguang is __________ as the father of geology in China.
15 After getting hanged Saddam Husin _________ in his home town.
16 Three Gorges (峡)________ on the Changjiang River is a great project in the world.
17 Reading the letter, she _________ out crying.
18 The students are busy __________ for the New Year’s Day Evening.
19 Hundreds of workers were killed in the coal _________ accidents last year.
20 He was greatly _________ at the news of his uncle’s death.
21 The Grand ________ was built during the Sui Dynasty(隋朝).
22 It looks like rain. We’d better seek _________ from the rain.
23 Five soliders were sent to _________ those skiers trapped in the snow.
24 _________ can be seen rising from the boiling kettle(水壶).
25 The bad weather _________ our trip.
多项选择题