问题 单项选择题

下列聚合类型中内聚程度最高的是 (11) ,下列耦合类型中耦合程度最低的是 (12)

A.数据耦合

B.控制耦合

C.公共耦合

D.内容耦合

答案

参考答案:A

解析:

[分析]: 模块的独立程度有两个定性标准度量:聚合和耦合。聚合衡量模块内部各元素结合的紧密程度:耦合度量不同模块问互相依赖的程度。按照聚合程度从低到高排列,聚合包括偶然聚合、逻辑聚合、过程聚合、时间聚合、通信聚合、顺序聚合和功能聚合,其中功能聚合的聚合程度最高。按照耦合程度从低到高排列,耦合包括数据耦合、控制耦合、公共耦合和内容耦合,其中数据耦合的耦合程度最低。

阅读理解

阅读理解。

      General Pershing was a great American officer. He was in the American army, and fought in

Europe in the First World War.

      After he died, some people in his hometown wanted to remember him, so they put up a big

statue of him on a horse.

      There was a school near the statue, and some of the boys went there every day on their way to

school and again on their way home. After a few months, some of them began to say "Good morning,

Persiung"whenever they reached the statue, and soon all the boys in the school were doing this.

      One Saturday, one of the smallest of these boys was walking to the shops with his parents.

When he went to the statue,  he said" Good morning, Pershing"to it,  but then he stopped and said

to his parents,"I like Pershing very much, Mum and Dad, but who's that strange man on his back?"

1. General Pershing fought in Europe, but he was from______.

A. Europe      

B. England    

C. America      

D. Japan

2. Some people put up a statue to remember______.  

A. the smallest boy                

B. General Washington

C. a horse                      

D. General Pershin

3. The statue was ______ the school.

A. not far from    

B. behind    

C. in          

D. very far from

4. The boys went there every day______.

A. on their way to school    

B. on their way home

C. both A and B          

D. after class

5. The boy thought that ______ was Pershing.

A. the shop    

B. the man    

C. the house    

D. the horse

单项选择题