第一范文网 - 专业文章范例文档资料分享平台

(完整word版)软件工程选择题

来源:用户分享 时间:2025/5/23 21:09:03 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

b. single operations as they are added to the evolving class implementation c. operator programs derived from use-case scenarios d. none of the above

8. Which of the following is an approach to debugging? Answer: e a. backtracking b. cause elimination

c. brute force d. code restructuring e. a, b and c

1. What is the normal order of activities in which traditional software testing is organized?Answer: c a. integration testing, unit testing, system testing, validation testing b. validation testing, unit testing, integration testing, system testing c. unit testing, integration testing, validation testing, system testing d. system testing, validation testing, integration testing, unit testing Answer: e

a. conduct formal technical reviews prior to testing b. specify requirements in a quantifiable manner c. use independent test teams

d. wait till code is written prior to writing the test plan e. answers a and b

3. Which of the following need to be assessed during unit testing? Answer: e a. algorithmic performance b. code stability c. error handling d. execution paths e. both c and d

4. When testing object-oriented software it is important to test each class operation separately as part of the unit testing process. Answer: b a. True b. False

5. Which of the following tests is a system test that forces the software to fail in a variety of ways and verifies that software is able to continue execution without interruption? Answer: d a. security testing b. performance testing c. stress testing d. recovery testing

6. Bottom-up integration testing has as it's major advantage(s) that Answer: c a. major decision points are tested early b. no drivers need to be written c. no stubs need to be written d. regression testing is not required

7. The OO testing integration strategy involves testing

2. Which of the following strategic issues needs to be addressed in a successful software testing process?

Answer: a

a. groups of classes that collaborate or communicate in some way b. single operations as they are added to the evolving class implementation c. operator programs derived from use-case scenarios d. none of the above

8. Which of the following is an approach to debugging? Answer: e

a. backtracking b. cause elimination

c. brute force d. code restructuring e. a, b and c Chapter 13

1. Which of the following are characteristics of testable software? Answer: d a. observability b. simplicity c. stability d. all of the above

2. The testing technique that requires devising test cases to demonstrate that each program function is operational is called? Answer: a a. black-box testing b. glass-box testing c. grey-box testing d. white-box testing

3. The testing technique that requires devising test cases to exercise the internal logic of a software module is called? Answer: d a. behavioral testing b. black-box testing c. grey-box testing d. white-box testing

4. The cyclomatic complexity metric provides the designer with information regarding the number of a. cycles in the program b. errors in the program

c. independent logic paths in the program

d. statements in the program Answer: c 5. Black-box testing attempts to find errors in which of the following categories Answer: d a. incorrect or missing functions b. interface errors c. performance errors d. all of the above e. none of the above

6. Testing OO class operations is made more difficult by Answer: d a. encapsulation

b. inheritance c. polymorphism d. both b and c

7. What is the differences between black-box testing and white-box testing?

Answer: Black-box testing involves testing the functionality of a software component without knowing the details of its internal logic. White-box testing involves testing the independent logic paths with full implementation knowledge.

8. What is equivalence partitioning as it applies to software testing? What is scenario-based testing? Answer: Equivalence partitioning technique divides the input domain into classes of equivalent data items. Test cases are derived from combinations of elements from each equivalence class. Exhaustive testing of all input domain values is not necessary. Scenario-based testing: The user tasks described in the use-cases are used to construct the test cases. It is used to uncover errors that occur when actors interact with the software (focus is on user behavior, not product behavior).

1. Which of the following are characteristics of testable software? Answer: d a. observability b. simplicity c. stability d. all of the above

2. The testing technique that requires devising test cases to demonstrate that each program function is a. while-box testing b. glass-box testing c. grey-box testing d. black-box testing

3. The testing technique that requires devising test cases to exercise the internal logic of a software module is called? Answer:c a. behavioral testing b. grey-box testing c. while-box testing d. black-box testing

4. The cyclomatic complexity metric provides the designer with information regarding the number of a. Independent logic paths in the program b. cycles in the program c. errors in the program

d. statements in the program Answer: a 5. Black-box testing attempts to find errors in which of the following categories Answer: d a. incorrect or missing functions b. interface errors c. performance errors d. all of the above e. none of the above

6. Testing OO class operations is made more difficult by Answer: d a. polymorphism b. encapsulation

operational is called? Answer:d

c. inheritance d. both b and c

7. What is the differences between black-box testing and white-box testing?

Answer: Black-box testing involves testing the functionality of a software component without knowing the details of its internal logic. White-box testing involves testing the independent logic paths with full implementation knowledge.

8. What is equivalence partitioning as it applies to software testing? What is scenario-based testing? Answer: Equivalence partitioning technique divides the input domain into classes of equivalent data items. Test cases are derived from combinations of elements from each equivalence class. Exhaustive testing of all input domain values is not necessary. Scenario-based testing: The user tasks described in the use-cases are used to construct the test cases. It is used to uncover errors that occur when actors interact with the software (focus is on user behavior, not product behavior).

搜索更多关于: (完整word版)软件工程选择题 的文档
(完整word版)软件工程选择题.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c8z91m81mtw6x2111f20r4n7xz5eecp00bkl_4.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top