问题 单项选择题

有以下程序  main( )  { int x=3, y=2, z=1;   printf("%d\n",x/y&~z);  } 程序运行后的输出结果是()

A、3

B、2

C、1

D、0

答案

参考答案:D

解析:

先求得x/y的值为1,然后按位对非1数进行与运算,则结果必为0。

改错题

第二卷

第三部分 写作(共两节, 满分50分)

第一节 短文改错 (共10小题;每小题1.5分。满分15分) 此题要求改正所给短文中的错误。对标有题号的每一行作出判断:如无错误,在该行右边横线上画一个勾(√);如有错误(每行只有一个错误),则按下列情况改正:

此行多一个词:把多余的词用斜线(\)划掉,在该行右边横线上写出该词,并也用斜线划掉。

此行缺一个词:在缺词处加一个漏字符号(^),在该行右边横线上写该加的词。

此行错一个词:在错的词下划一横线,在该行右边横线上写出改正后的词。

注意:原行没有错的不要改。

Believe it or not, proper nervousness has its advantage.                   66.___________

Like in sports events to make athletes to gain good results, it can also          67.___________

sharpen our mind, thus allow us to perform well in exams.                  68.___________

However, too much nervousness can result from sleeplessness,               69.___________

harming our health. What’s worse, it can make our mind at loss. As a         70.___________

consequence, our mistakes increased in exams, and we may even fail          71.___________

to write any answers.

Several methods can be used to solve the problem above. Firstly,            72. ___________

review our lessons well, that can make us have more confidence and less      73. ___________

anxious. Secondly, take some deep breath to calm down at the beginning of     74. ___________

any exam. Last and not least, always keep this in mind: I’ve studied hard, so    75. ___________

I’m sure to do the best I can.

选择题