问题 填空题

在进行模块测试时,要为每个被测试的模块另外设计两类模块:驱动模块和承接模块(桩模块)。其中______的作用是将测试数据传送给被测试的模块,并显示被测试模块所产生的结果。

答案

参考答案:驱动模块。

解析: 在进行模块测试时,要为每个被测试的模块另外设计两类模块:驱动模块和承接模块(桩模块)。驱动模块的作用是将测试数据传送给被测试的模块,并显示被测试模块所产生的结果。桩模块用来代替被测模块所调用的模块,返回被测模块所需的信息。

阅读理解

In choosing a friend, one should be very careful. A good friend can help you study. You can have fun together and make each other happy. Sometimes you will meet fair-weather friends. They will be with you as long as you have money or luck, but when you are down, they will run away. How do I know when I have found a good friend? I look for certain qualities(品质) of character, especially understanding, honesty and reliability(可靠).

Above all else, I look for understanding in a friend. A good friend tries to understand how another person is feeling. He is not quick to judge. Instead, he tries to learn from others. He puts himself in the other person’s place, and he tries to think of ways to be helpful. He is also a good listener.

At the same time, however, a good friend is honest. He does not look for faults(过错) in others. He notices their good points. In short, a friend will try to understand me and accept me.

Another quality of a friend is reliability. I can always depend on a good friend. If he tells me he will meet me somewhere at a certain time, I can be sure that he will be there. If I need a favor, he will do his best to help me. If I am in trouble, he will not run away from me.

There is a fourth quality that makes a friend special. A special friend is someone with whom we can have fun. We should enjoy our lives, and we would enjoy our friendship. That is why I especially like friends who are fun to be with. A good friend likes the same things I like. We share experiences and learn from each other. A good friend has a good sense of humor, too. He likes to laugh with me. That is how we share in the joy of being friends. And I know that he is looking for the same quality in me.

When I meet someone who is reliable, honest and understanding, I know I’ve found a friend!

小题1:Which of the following qualities the writer thinks is the most important in choosing a friend?

A.Understanding.

B.Honesty.

C.Reliability.

D.A sense of humor.小题2:If you have fair-weather friends, __________.

A.you will become rich

B.you can be sure that you get real friends

C.you will be refused when you get into trouble

D.they will give you all that they have when you need help小题3:This passage mainly discusses _________.

A.the qualities of a friend

B.how to get along with friends

C.the importance of having a friend

D.the importance of the qualities of a friend

填空题