问题 单项选择题

为了使模块尽可能独立,要求( )。

A.内聚程度要尽量高,耦合程度要尽量强

B.内聚程度要尽量高,耦合程度要尽量弱

C.内聚程度要尽量低,耦合程度要尽量弱

D.内聚程度要尽量低,耦合程度要尽量强

答案

参考答案:B

解析: 模块独立性是指每个模块只完成系统要求的独立的子功能,并且与其他模块的联系最少且接口简单。耦合性与内聚性是模块独立性的两个定性标准,耦合与内聚是相互关联的。在程序结构中,各模块的内聚性越强,则耦合性越弱。一般较优秀的软件设计,应尽量做到高内聚,低耦合,即减弱模块之间的耦合性和提高模块内的内聚性,有利于提高模块的独立性。

判断题
阅读理解

Plants are very important living things. Life could not go on if there were no plants. This is because plants can make food from air,water and sunlight. Animals and man cannot make food from air,water and sunlight. Animals get their food by eating plants and other animals.Therefore animals and man need plants in order to live.This is why we find that there are so many plants around us.

If you look carefully at the plants around you,you will find that there are two kinds of plants:flowering plants and non-flowering plants.

Flowering plants can make seeds(种子). The seeds are protected by the fruits. Some fruits have one seed, some have two, three or four, and some have many seeds. But a few fruits have no seeds at all. An example of a fruit without seeds is the banana fruit. Most non-flowering plants do not grow from seeds. They grow from spores(胚芽). Spores are very small. Some spores are so small and light that they can float in the air. We may say that spores are quite the same as seeds. When these spores are all on wet and shady places, they usually grow into new plants.

72. The main idea of the first paragraph is that ______.

A. plants are important for life             B. plants cannot grow without air

C. there are many plants in the world      D. we can not live without water

73. Plants can make food from______.

A. flower, water and air                                        B. water, sunlight and air

C. air, water and soil                                                       D. air, sun and light

74. What can we infer from the passage ?

A. Of all living things animals are most important 

B.Spores are seeds

C. All fruits of flowering plants have seeds  

D.Without plants, man will die out

75. This passage may be taken from______.

A. a medicine book                      B. a novel

C. a science magazine                   D. an experiment report