问题 单项选择题

软件测试通常分为单元测试、组装测试、确认测试、系统测试等四个阶段。______属于确认测试阶段的活动。

A.设计评审
B.代码审查
C.结构测试
D.可靠性测试

答案

参考答案:D

解析:
软件测试通常分为①单元测试、②组装测试、③确认测试、④系统测试等四个阶段。表5-9给出了这4个阶段的主要工作任务和测试依据。
确认测试包括有效性测试和软件配置审查。有效性测试是在模拟的环境下,运用黑盒测试方法,验证所测软件是否满足需求规格说明书列出的要求。在有效性测试中除考虑功能、性能以外,还需检验可移植性、可靠性、兼容性、用户界面及系统所提供的文档资料是否符合要求等内容。软件配置审查的目的在于确保已开发软件的所有文档资料均已编写齐全,足以支持投入运行以后的软件维护工作。

表5-9 软件测试各阶段的主要任务及依据

阶 段
单项选择题

Lying in the sun on a rock, the cougar(美洲狮) saw Jeb and his son, Tom, before they saw it. Jeb put his bag down quickly and pulled his jacket open with both hands, making himself look big to the cougar. It worked. The cougar hesitated, ready to attack Jeb, but ready to forget the whole thing, too.

Jeb took off his jacket, grasped Tom and held him across his body, making a cross. Now the cougar’ s enemy looked even bigger, and it rose up, ready to move away, but unfortunately Tom got scared and struggled free of Jeb.

"Tom, No !" shouted his father.

But Tom broke and ran and that’ s the last thing you do with a cougar. The second Tom broke free, Jeb threw himself on the cougar, just as it jumped from the rock. They hit each other in mid-air and both fell. The cougar was on Jeb in a flash, forgetting about Tom, which was what Jeb wanted. Cougars are not as big as most people think and a determined man stands a chance, even with just his fists. As the cougar’s claws got into his left shoulder, Jeb swung his fist at its eyes and hit hard. The animal howled(吼叫)and put its head back. Jeb followed up with his other fist. Then out of the comer of his eye, Jeb saw Tom. The boy was running back to help his father.

"Knife, Tom," shouted Jeb.

The boy ran to his father’ s bag, while Jeb started shouting as well as hitting, to keep the cou-gar’s attention away from Tom. Tom got the knife and ran over to Jeb. The cougar was moving its head in and out, trying to find a way through the wall. Jeb was making out of his arms. Tom swung with the knife, into the cougar’ s back. It howled horribly and ran off into the mountains.

Why did Jeb pull his jacket open when he saw the cougar().

A. To get ready to fight.

B. To frighten it away.

C. To protect the boy.

D. To cool down.