问题 单项选择题

信息隐蔽的概念与下述哪一种概念直接相关______。

A.软件结构定义

B.模块独立性

C.模块类型划分

D.模拟耦合度

答案

参考答案:B

解析:[评析] 信息隐蔽是指在一个模块内包含的信息(过程或数据),对于不需要这些信息的其他模块来说是不能访问的。模块独立性是指每个模块只完成系统要求的独立的子功能,并且与其他模块的联系最少且接口简单。衡量软件的模块独立性的度量标准是耦合性和内聚性。一个模块的内聚性越强,则该模块的模块独立性越强.而内聚性是信息隐蔽和局部化概念的自然扩长。

阅读理解

阅读理解。

      Once a circle lost a piece of its own. The circle wanted to be whole, so it went around looking for its
missing piece. But because it was incomplete (不完整的), it could only roll very slowly. It enjoyed the flowers
and the sunshine along the way. It talked with worms. It found lots of different pieces, but none of them fit. So
it left them all by the side of the road and kept on looking for the missing piece. Then one day the circle found a
piece that fit perfectly. The circle put the missing piece into itself. It could be whole with nothing missing. It was so happy and began to roll. Now that it was a perfect circle, it could roll very fast, too fast to see flowers or talk
to worms. It realized how different the world was when it rolled so quickly. It felt so sad that it stopped, left its
found piece by the side of the road and rolled away slowly. Sometimes we are perfect when we lose something. A man who has everything is a poor man in some ways. He will never have hopes, dreams or something better.
He will never know someone is loving him or someone is giving him something he has always wanted or never
had. We couldn't be perfect, but we must be brave enough to love, strong enough to forgive (原谅), kind enough to share happiness with others and clever enough to know there is enough love around us and then we can always live a wonderful time in our lives.
1. The circle rolled very slowly because it             .
[ ]
A. spent much time talking to worms
B. wanted to enjoy the sunshine
C. was looking for its missing piece
D. lost a piece of its own
2. Why did the circle stop when it rolled quickly? Because it             .
[ ]
A. wanted to enjoy the world
B. found a different world
C. wanted to look for another missing piece
D. thought the world changed so quickly
3. If a man owns everything , he'll be              in some ways according to the story.
[ ]
A. perfect
B. poor
C. happy
D. strong
4. The story mainly tells us that             .
[ ]
A. nobody loves us if we give nothing
B. a man who has everything is the happiest
C. losing something may not be a bad thing sometimes
D. we are not whole when we lose something
单项选择题