问题 单项选择题

下面的描述中,( )是正确的。

A.virtual可以用来声明虚函数

B.含有纯虚函数的类是不可以用宋创建对象的,因为它是虚基类

C.即使基类的构造函数没有参数,派生类也必须建立构造函数

D.静态数据成员可以通过成员初始化成员列表来初始化

答案

参考答案:A

解析: 本题考核C++中各知识点的应用。 ①virtual关键词既可以用来声明虚基类,也可以用来声明虚函数。所以选项A的描述是正确的。 ②C++规定,含有纯虚函数的类是抽象类,它不能用来定义对象。选项B的描述中,前半句是正确的,但后半句是错误的。 ③在C++中,如果所有的基类和子对象构造函数都不需要参数,派生也不需要参数初始化,则派生类中,可以不定义构造函数。所以选项C的描述是错误的。 ④在C++中,静态数据成员的初始化必须在类体外进行。所以选项D的描述是错误的。

阅读理解

Helen Keller was born in America in June, 1880. Everything was all right when she was born. But when she was 19 months old, an attack of fever left her blind and deaf for the rest of her life. She was so young when she became blind that as she grew older she did not remember being able to see; and she became deaf before she had any idea of the importance of human speech. She lived in darkness and silence.

As she grew older, she, too, wanted to express her ideas and feelings. But she realized she was cut off from others. Her parents were greatly worried. How could anyone make touch with Helen’s mind and intelligence in darkness and silence without speech? Helen was nearly seven before a teacher was found. Her name was Miss Sullivan.

Miss Sullivan had a lot of difficulties in teaching Helen Keller. As the child could neither see nor hear, she had to use manual alphabet. But Helen’s energy and intelligence and strong spirit as well as Miss Sullivan’s skill and patience, overcame all the difficulties. As Helen grew up, she became an able student, passed examination and finally took a university degree in English literature. She then devoted all herself to helping the blind and the deaf. Her personal success, together with the work she had done for others, made her one of the greatest women in modern times. She wrote many books and “The Story of My Life”is a wonderful one.

小题1:Which of the following statements is TRUE?

A.Helen Keller was born blind and deaf.

B.She first became blind and then deaf.

C.She became blind and deaf in 1880.

D.She became blind and deaf sometime about January 1882.小题2:Which of the following statements is NOT TRUE?

A.Helen became blind and deaf because she suffered from a high fever.

B.Helen became blind before she could see anything.

C.Helen became deaf before she realized how important it was to be able to hear and speak.

D.Helen, too, wanted to touch with others with speech.小题3:Helen was finally successful mainly because of______.

A.her parents’ help

B.the manual alphabet Miss Sullivan used in teaching her

C.the help she got when she was studying for a university degree

D.her hard work, cleverness and will-power as well as Sullivan’s great efforts小题4:Helen Keller finally became______.

A.an able student

B.a writer

C.the greatest woman in modern times

D.a student who took a university degree in English literature小题5:Helen Keller’s parents were greatly worried because___.

A.She was growing older

B.She was cut off from others

C.she, too, wanted to express her ideas and feelings but she could not

D.she was almost seven years old and yet they were not sure whether they could find a suitable teacher for her

单项选择题