问题 单项选择题

软件测试是保证软件质量的重要手段,其首要任务是( )。

A.保证软件的正确性

B.改正软件存在的错误

C.发现软件的潜在错误

D.实现程序正确性证明

答案

参考答案:C

解析: 测试阶段的基本任务是根据软件开发各阶段的文档资料和程序的内部结构精心设计一套测试方案,找出程序中潜在的各种错误和缺陷。测试并不能保证程序是完全正确的。只有选项 C符合题意。

阅读理解

阅读理解。

     A student in a university was one day taking a walk with a professor. As they went along, they was a pair

of old shoes lying in the path, which they supposed to belong to a poor man.

     The student turned to the professor, saying, "Let us play the man a trick: we will hide his shoes, and hide

ourselves behind those trees, and wait to see his perplexity (窘迫) when he cannot find them."

     "My young friend," answered the professor, "we should never play jokes on others because of their being

poor. Put a coin into each shoe, and then we will hide ourselves and watch how the discovery affects him."

     The student did so, and they both hid themselves behind the bushes. The poor man soon finished his work,

and came across the field to the path where he had left his coat and shoes. While putting on his coat he slipped

his foot into one of his shoes and found the coin. He then looked around him on all sides, but no person was to

be seen. He put the money into his pocket. When he put on the other shoe, he found the other coin. He fell

upon his knees, looked up to the sky and said aloud a fervent (热诚的) thanksgiving to the person who gave

him the coins.

     The student stood there deeply moved, and his eyes was filled with tears. "Now," said the professor, "are

you not much better pleased than if you had played your intended trick?"

     The youth answered, "You have taught me a lesson which I will never forget. I feel now the truth of these

words, which I never understand before: It is more blessed to give than to receive."

1. Which of the following sentences can be the main ideas of the passage?[ ]

A. It is more blessed to give than to receive.

B. A joke can't be made to a poor man.

C. Never play jokes on others because of their being poor.

D. The student received a good lesson.

2. From the passage we can know that the professor was ______. [ ]

A. kind-hearted

B. hard-working

C. strong-minded

D. bad-minded

3. What did the poor man do when he found the second coin in his shoe? [ ]

A. He put it in his pocket without saying a word.

B. He looked around him and hid it in the bushes.

C. He thanked the person who gave him the coins very much.

D. He picked up the coin and ran away quickly.

4. The passage tells us a truth that ______. [ ]

A. giving is more pleasant than receiving.

B. playing tricks on others is playing tricks on yourself.

C. a professor is always wiser than a student.

D. no pains, no gains.

单项选择题