问题 单项选择题

下列叙述中正确的是( )。

A) 在赋值表达式中,赋值号的左边既可以是变量,也可以是任意表达式
B) 实型变量中允许存放整型数
C) 若a和b类型相同,在执行了赋值a=b后,b中的值将放入a中,但b中的值不变
D) 在c程序中,求余运算符“%”两边的类型相同时才能进行运算

答案

参考答案:B

解析: 选项A),在赋值表达式中,赋值号的左边只能是变量或者是代表某个存储单元的表达式,不能是任意表达式;在判断选项B)时首先应该建立这样的概念,整型变量中只能存放整型数,实型变量中能存放实型数,也能存放整型数:选项C),执行表达式a=b后,将把变量b存储单元中的值赋给变量a,从而覆盖a中原有的值,但b中原有的值并不改变;选项D),在C程序中,求余运算符“%”两边的类型均为整型数据。

阅读理解

阅读理解。

     How do you remember the way to your house? Where do dreams come from? It is your brain (大脑) that

does these things. A British scientist showed that "sleep can improve one's memory." It's not a dream for

students to study when they sleep. In fact, your brains is working day and night. If you learn words before

bed, a certain part of the brain may help you to remember the words while you sleep. What's more, another

scientist in the USA found that there was a "talent button (天才按钮)" in the human brain. It might make a

person more talented.

    There are more interesting things about the brain. Your brain uses less energy than a fridge light. Just two

bananas can give the brain enough energy to work for a whole day. According to some scientists, yawning (打哈欠) keeps our brains "cool", which makes us think quicker.

     Here are some pieces of advice to keep a good brain:

     ● Eat healthy food.

     ● Get a lot of playtime or exercise. 

     ● Don't drink or smoke. 

     ● Use your brain a lot.

1. A British scientist found out that ________ could improve our memories.

A. drink

B. dreams

C. sleep

D. bananas

2. According to the passage, if we want to have a good brain, we should ________.

A. use our brains more

B. sleep fewer hours

C. work longer hours

D. remember fewer things

3. Which of the following is TRUE according to the passage?

A. Our brains only work in the daytime.

B. Our brains need much energy every day.

C. Smoking can keep our brains healthy.

D. Getting exercise is good for our brains.

论述题