云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > (完整word版)软件工程选择题

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

  • 62 次阅读
  • 3 次下载
  • 2025/5/3 1:30:02

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版)软件工程选择题 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

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

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com