问题 单项选择题

在对象技术中,对象之间有四种关系,下列关系中哪个是描述分类结构的关系

A.实例连接关系

B.消息连接关系

C.通用-特定关系

D.整体-部分关系

答案

参考答案:C

解析:【命题目的】本题考查面向对象的基本概念。【解题要点】在对象技术中,对象之间有四种关系,实例连接关系:反映对象之间的静 态联系;消息连接关系:反映对象之间的动态联系;通用―特定关系:又称为分类结构,是 由一组有继承关系的类所组成的结构;整体―部分关系:一种是构成嵌套的关系,另一种 是分别独立定义和创建整体。【考点链接】对象和类、封装、继承、消息、类和对象的关系。

阅读理解

Louis Pasteur, one of the world's great scientists, was born in 1822, and died in 1895.While still a young boy, Louis Pasteur made his decision to become a scientist. He spent much of his life time studying the diseases of cattle, chickens and other tame animals. His wife learned to help him with his work. Almost everyone knows that Pasteur is the man responsible for finding a way of preventing milk from spoiling (变质). Not many people know he was the first to imagine and to prove that air we breathe is full of germs (细菌).  One of his greatest successes was finding a treatment for people and animals to prevent a disease called rabies (狂犬病). Louis Pasteur won many honors and could have got large amount of money. But Pasteur preferred to live simply. The real happiness of this unusual man came from his work. Louis Pasteur did so well in his life that the French government took up his work and created the Institute Pasteur in the year 1888. 

小题1:According to the passage, which of the following statements is true?

A.Pasteur was a scientist and doctor as well.

B.Pasteur lived for less than seventy years.

C.Everybody knows that Pasteur succeeded in finding a way of preventing milk from spoiling.

D.Pasteur's wife was of some help to him in his work..小题2:From the passage, we know that Pasteur lived a simple life. This is because ________.

A.he earned little money.

B.he cared much about money.

C.what he really enjoyed was a simple life.

D.of all mentioned above.小题3:Why were many honors given to Louis Pasteur?

A.Because he was the greatest scientist in the world.

B.Because he spent much of his life time studying the diseases of people .

C.Because he lived simply.

D.Because he was a great success as a scientist.小题4:Pasteur could have got large amount of money if he had___________.

A.cared much about it.

B.made more discoveries.

C.lived a better life.

D.achieved more successes.小题5:To Louis Pasteur the real happiness in his life was to __________.

A.study

B.work

C.get large amount of money

D.raise tame animals

单项选择题