问题 单项选择题

有以下程序
main()
int c=35;printf(“%d\n”,c&C) ;
程序运行后的输出结果是

A.0

B.70

C.35

D.1

答案

参考答案:C

解析: 本题考查的是对位与运算符&的理解。位与运算是将两个运算分量看作两个二进制数,然后对两个二进制数的相应位进行与运算,若同时为1则结果相应位为1,否则结果相应位为0。因此,当两个运算分量相同时,它们的相应位肯定也相同,即不同为1就同为0。所以得到的结果和运算分量也相同。所以,4个选项中选项C)符合题意。

改错题

第二节:短文改错(共10小题;每小题1.5分,满分15分)

此题要求改正所给短文中的错误,对标有题号的每一行做出判断:如无错误,在该行右边横线上画一个勾(Ⅴ);如果有错误(每行只有一个错误),则按下列情况改正:

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

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

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

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

You can find all kinds information in just              76.     

a few minute on the Internet. It’s like going to a               77.     

huge library without have to walk around to find        78.     

your books. Recently though, many peoples                 79.     

have been discussing the dangers of the Internet.               80.     

They have been reports in America about people               81.     

trying to steal person in formation for bad purpose.    82.     

Finding information on the Net is easily. But not all   83.     

information are good to society. For example, you     84.     

can find such information like how to kill people.      85.     

The problem will become more serious in the future.

多项选择题