问题 单项选择题

耦合是软件各模块间连接的一种度量。一组模块都访问同一数据结构应属于( )。

A.内容耦合

B.公共耦合

C.外部耦合

D.控制耦合

答案

参考答案:B

解析:耦合是软件结构中各模块间相互连接的一种度量,耦合强弱取决于模块间接口的复杂程度、进入或访问一个模块的点及通过接口的数据。题中各选项含义是:内容耦合―若一个模块直接访问另一个模块的内容。公共耦合-若一组模块都访问同一全局数据结构。外部耦合―若一组模块都访问同一全局数据项。控制耦合―若一模块明显地将开关量、名字等信息送入另一模块,控制另一模块的功能,则称为控制耦合。

阅读理解

阅读理解

      In our life, we face situations where we are either asked to choose between trust and disbelief.

Many of us would say we have to choose trust over disbelief.Actually we are given intellectual (智力

的) power to choose what we want, and what we choose certainly need not be the one that sounds

pleasing.That is, we can choose both trust and disbelief, but we have to know when to choose between

these two.

      We should all realize that we are living in a world which is unfortunately mixed with people of various

types.We have been given the power of judging who we are working with and who we are partnering

with.We cannot give an excuse for believing a scheming (诡计多端的) person, just because he looked

or sounded nice, unless we consider ourselves mentally unskillful.

      This world was there before us and it does not owe us a single thing.We are asked to take care of

ourselves and our:belongings.Trust,too, has to be saved for the deserving (值得的) people.When we

give trust universally to all, we end up troubled by the undeserving common cheat.People say trust is life.

True! But only wisely exercised trust is life.

      When we start a conversation with someone, the first things that we usually notice would be their

dress, behavior, style and their language.What sometimes we all forget to look at is the person's intention.Now how to look at a person's intention is a lesson everybody has to learn for themselves in their own

way-there is no single standard for it.But it is certainly possible to discover the purpose if we seek a little

bit more.

      Certainly a false offer of friendship or guidance cannot stand undiscovered for long;we_are_

therefore_called_to_exercise _disbelief_over_trust_at_least_momentarily_till_we_find_out_that_we_

certainly_are_in_agreement_with_a_mutual(相互的)good willed_person.

      The world teaches you lots of lessons and if we are willing, we can learn all that we want.

1. In the first paragraph, the author________.

A. concentrates on the reason why we make different choices

B. focuses on how to choose between trust and disbelief

C. suggests that trust should be wisely exercised

D. implies that people are forced to make the choice

2. We can infer from the passage that________.

A. people who we are working with are in fact those who we are partnering with

B. the first thing we notice tends to mislead our judgment

C. the mentally healthy people will not judge a person by his looks

D. the standards of looking at a person's intention are not various

3. The underlined sentence means________.

A. trust and disbelief go hand in hand with each other

B. disbelief is necessary if you aren't wise

C. trust is established if two people know each other

D. doubt may serve as the precondition for trust

4. Which of the following can serve as the best title for the passage?

A. Trust or Disbelief? 

B. Trust Is Life.

C. Trust over Disbelief?  

D. Disbelief over Trust?

名词解释