问题 单项选择题

已知“a=10,r=6,x=7,b=True”,表达式“a>=2*3.14159*r And x<>5 Or Not b”的值为______。

A.False

B.True

C.1

D.0

答案

参考答案:A

解析: 运算符的运算顺序是先算算术运算符,再算关系运算符最后算逻辑运算符,逻辑运算符的优先顺序是Not、And、Or,所以此题先算“2*3.14159*r”,它的值接近38,再算“a>=2*3.14159 *r”和“x <>5”,分别是False和True,再算“Not b”,值为False,再算And运算符,即False And True结果为False,最后算Or运算符,False Or False结果为False。

阅读理解

任务型阅读。

     It was a dark night. I saw bright light in my neighbor's kitchen. I thought he could be having a midnight

  snack so I went back to my bed. Soon, there was a burning smell and I thought something must be

 wrong. At once, I jumped out of bed and went downstairs to have a look. I saw a fire (火) coming out of

  my neighbor's kitchen. I shouted "Fire!" But there was no one nearby to hear my shouts for help. I ran

 quickly into my house and called the Fire Department (消防部门) and went back to my neighbor's house.

  I knocked (敲) at the door and called my neighbor's name, but there was no answer. I tried to break into

  the house and saved a cat and a rabbit. I tried to pour water through the kitchen window but it was no

  use, the fire is too big. Luckily, a fire engine (消防车) arrived and the firemen put out the fire.

     When my neighbor came back, he was sad because his kitchen was burnt down, but he thanked me for

  calling the Fire Department and for saving his pets.

     A week later, my neighbor invited me to his home for dinner. At his new kitchen, he took a photo of

 me. Later on, he gave me the photo as a present. It made me very happy.

1. Where did the fire happen?

    _________________________

2. What did the writer run quickly into his house for?

    _________________________

3. What did the writer save from the fire?

    _________________________

4. Who put out the fire?

    _________________________

5. What did the neighbor do a week after the fire?

    _________________________

单项选择题