问题 单项选择题

若函数中有定义语句“int k;”,则( )。

A.系统将自动给k赋初值0

B.这时k中的值无定义

C.系统将自动给k赋初值-1

D.这时k中无任何值

答案

参考答案:B

解析: 根据题目,若以这种方式定义变量k时,编译程序仅为k开辟存储单元,并未在存储单元中存放任何初始值,所以变量中的值无意义,称变量值“无定义”。所以正确答案为选项B。

完形填空

Are you the only child in the family? If so, you are the most important in your family. Parents are the closest people to you in the world. But most middle school students have a problem. They feel they’re not as close to their parents as before.

Some students complain that their parents often say a lot to them, but never listen to them. Some say their parents ask them not to play computer games when other classmates are doing that. Others say when they’re making phone calls to friends, their parents like to ask if the children are speaking to a boy or a girl. These make them very unhappy. Some students even decide to leave home because they’re afraid to tell their parents when they have done something wrong. Then they usually think running away is the only choice. But they don’t know running away may bring them some more problems.

Problems are parts of life. Here are some suggestions for you to solve the problems.

·Find a good time to talk with your parents. Don’t be afraid to tell them your feelings.

·Get help from others like good friends or teachers.

·Keep a diary to help you understand more about yourself and your feelings.

·Show your parents you’re growing up. Then they’ll feel you’re not a small child.

If you follow the advice, you’ll have a happy life and never think of running away.

小题1:Who are the closest people to you if you are the only child in the family?

________________________

小题2:Do most students feel they are not as close to their parents as before?

________________________

小题3: What do some parents like to do while their children are making phone calls to friends?

_________________________

小题4:What could you do to understand more about yourselves and your feelings?

_________________________

小题5: How many suggestions does the writer give?

_________________________

单项选择题