问题 填空题

在C语言中,当表达式值为0时表示逻辑值“假”,当表达式值为______时表示逻辑值“真”。

答案

参考答案:非0

解析: C语言中没有“True”和“False”两个逻辑值,程序中用0表示“假”,非0表示“真”。

单项选择题
完形填空
I'd been travelling for long hours on a lonely country road when I had a flat tire. So I had to stop and get the tools to       the problem. It certainly wasn’t       doing this with a white shirt and suit on.
Nightfall was approaching. Suddenly a car pulled       from behind me. A man got out and offered to         me. Seeing his unpleasant appearance and tattoos(纹身)on his arm, I became        as thoughts of robberies flashed through my mind. But       I could say anything he had already begun to take the tools to change the       . While watching him I happened to look back at his car and noticed someone sitting in the passenger seat. This had        me. 
Then, without       , it began to rain. He suggested that I wait in his car because my car was unsafe. As the rain increased, getting us wet within seconds, I        agreed. When I settle into the back seat, a woman’s voice came from the front seat. “Are you all right?” She turned around to me. “Yes, I am.’’ I replied with much        when seeing an old woman there. It must be his Mom, I thought. To my      , the old woman was a neighbor of the man who was helping me. “Jeff insisted on stopping when he saw you      with the tire. ”“I am grateful for his help, ” I said. “Me, too!” she said with a smile. He helped drive her to see her husband twice a week in a nursing home. She also said that he       at the church and tutored disadvantaged students. 
The rain stopped and Jeff and I changed the tire. I tried to offer him money and of course he     it. It was shameful that I judged people by the way they       . As we shook hands I began to apologize for my     . He said, ‘‘I experience that same        often. People who look like me don’t do nice things. I        thought about changing the way. But then I saw this as a chance to make a       . So I’ll leave you with the same question I ask everyone who takes time to know me. If Jesus returned tomorrow and walked among us again, would you recognize Him by what He wore or by what He did?’’
小题1:
A.fixB. findC. makeD. avoid
小题2:
A.wiseB. usefulC. luckyD. easy
小题3:
A.onB. roundC. upD. out
小题4:
A.driveB. helpC. carryD. lift
小题5:
A.astonishedB. disappointedC. frightenedD. discouraged
小题6:
A.asB.beforeC. whenD. until
小题7:
A.shirtB. suitC. expressionD. tire
小题8:
A.concernedB. embarrassedC. discouragedD. puzzled
小题9:
A.knowingB. realizingC. warningD. waiting
小题10:
A.directlyB. happilyC. unwillinglyD. hurriedly
小题11:
A.fearB. reliefC. satisfactionD. excitement
小题12:
A.regretB. amusementC. delightD. surprise
小题13:
A.strugglingB. repairingC. fightingD. working
小题14:
A.volunteeredB. performedC. grewD. studied
小题15:
A.leftB. keptC. ignoredD. refused
小题16:
A.behavedB. lookedC. spokeD. thought
小题17:
A.selfishnessB. weaknessC. stupidityD.disability
小题18:
A.lifeB. reactionC. incidentD. change
小题19:
A.hardlyB. finallyC. actuallyD. probably
小题20:
A.comparisonB. startC. remarkD. point