independently of one another. (B) (A) True (B) False
9、Top-down integration testing has as it's major advantage(s) that (E) (A) low level modules never need testing (B) major decision points are tested early (C) no drivers need to be written (D) no stubs need to be written (E) both b and c
10、Bottom-up integration testing has as it's major advantage(s) that (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
11、Regression testing should be a normal part of integration testing because as a new module is added to the system new (E) (A) control logic is invoked
(B) data flow paths are established (C) drivers require testing (D) all of the above (E) both a and b
12、Smoke testing might best be described as (B) (A) bulletproofing shrink-wrapped software (B) rolling integration testing
(C) testing that hides implementation errors (D) unit testing for small programs
13、When testing object-oriented software it is important to test each class operation separately as part of the unit testing process. (B) (A) True (B) False
14、The OO testing integration strategy involves testing (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
15、The focus of validation testing is to uncover places that a user will be able to observe failure of the software to conform to its requirements. (A) (A) True (B) False
16、Software validation is achieved through a series of tests performed by the user once the software is deployed in his or her work environment. (B) (A) True (B) False
17、Configuration reviews are not needed if regression testing has been rigorously
applied during software integration. (B) (A) True (B) False
18、Acceptance tests are normally conducted by the (B) (A) developer (B) end users (C) test team
(D) systems engineers
19、Recovery testing 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. (B) (A) True (B) False
20、Security testing attempts to verify that protection mechanisms built into a system protect it from improper penetration. (A) (A) True (B) False
21、Stress testing examines the pressures placed on the user during system use in extreme environments. (B) (A) True (B) False
22、Performance testing is only important for real-time or embedded systems. (B) (A) True (B) False
23、Debugging is not testing, but always occurs as a consequence of testing. (A) (A) True (B) False
24、Which of the following is an approach to debugging? (E) (A) Backtracking (B) brute force
(C) cause elimination (D) code restructuring (E) a, b, and c Chapter 14
1、With thorough testing it is possible to remove all defects from a program prior to delivery to the customer. (B) (A)True (B)False
2、Which of the following are characteristics of testable software? (D) (A)Observability (B)simplicity (C)stability
(D)all of the above
3、The testing technique that requires devising test cases to demonstrate that each program function is operational is called (A)
(A)black-box testing (B)glass-box testing (C)grey-box testing (D)white-box testing
4、The testing technique that requires devising test cases to exercise the internal logic of a software module is called (D) (A)behavioral testing (B)black-box testing (C)grey-box testing (D)white-box testing
5、What types of errors are missed by black-box testing and can be uncovered by white-box testing? (E) (A)behavioral errors (B)logic errors
(C)performance errors (D)typographical errors (E)both b and d
6、Program flow graphs are identical to program flowcharts. (B) (A)True (B)False
7、The cyclomatic complexity metric provides the designer with information regarding the number of (C) (A)cycles in the program (B)errors in the program
(C)independent logic paths in the program (D)statements in the program
8、The cyclomatic complexity of a program can be computed directly from a PDL representation of an algorithm without drawing a program flow graph. (A) (A)True (B)False
9、Condition testing is a control structure testing technique where the criteria used to design test cases is that they (B) (A)rely on basis path testing
(B)exercise the logical conditions in a program module
(C)select test paths based on the locations and uses of variables (D)focus on testing the validity of loop constructs
10、Data flow testing is a control structure testing technique where the criteria used to design test cases is that they (C) (A)rely on basis path testing
(B)exercise the logical conditions in a program module
(C)select test paths based on the locations and uses of variables (D)focus on testing the validity of loop constructs
11、Loop testing is a control structure testing technique where the criteria used to design test cases is that they (D) (A)rely basis path testing
(B)exercise the logical conditions in a program module
(C)select test paths based on the locations and uses of variables (D)focus on testing the validity of loop constructs
12、Black-box testing attempts to find errors in which of the following categories incorrect or missing functions (C) (A)interface errors (B)performance errors (C)all of the above (D)none of the above
13、Graph-based testing methods can only be used for object-oriented systems (B) (A)True (B)False
14、Equivalence testing divides the input domain into classes of data from which test cases can be derived to reduce the total number of test cases that must be developed. (A) (A)True (B)False
15、Boundary value analysis can only be used to do white-box testing. (B) (A)True (B)False
16、Comparison testing is typically done to test two competing products as part of customer market analysis prior to product release. (B) (A)True (B)False 17、Orthogonal array testing enables the test designer to maximize the coverage of the test cases devised for relatively small input domains. (A) (A)True (B)False 18、Test case design \of the individual operations. (A) (A)True (B)False
19、Encapsulation of attributes and operations inside objects makes it easy to obtain object state information during testing. (B) (A)True (B)False
20、Use-cases can provide useful input into the design of black-box and state-based tests of OO software. (A) (A)True (B)False
21、Fault-based testing is best reserved for (B)
(A) conventional software testing
(B) operations and classes that are critical or suspect (C) use-case validation
(D) white-box testing of operator algorithms
22、Testing OO class operations is made more difficult by (D) (A) encapsulation (B) inheritance (C) polymorphism (D) both b and c
23、Scenario-based testing (A)
(A) concentrates on actor and software interaction (B) misses errors in specifications
(C) misses errors in subsystem interactions (D) both a and b
24、Deep structure testing is not designed to (D) (A) examine object behaviors
(B) exercise communication mechanisms (C) exercise object dependencies
(D) exercise structure observable by the user 25、Random order tests are conducted to exercise different class instance life histories. (A) (A)True (B)False
26、Which of these techniques is not useful for partition testing at the class level (C)
(A) attribute-based partitioning (B) category-based partitioning (C) equivalence class partitioning (D) state-based partitioning
27、Multiple class testing is too complex to be tested using random test cases. (B) (A) True (B) False
28、Tests derived from behavioral class models should be based on the (C) (A) data flow diagram
(B) object-relation diagram (C) state diagram (D) use-case diagram
29、Client/server architectures cannot be properly tested because network load is highly variable. (B) (A) True (B) False
30、Real-time applications add a new and potentially difficult element to the testing mix (D)
(A) performance
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库金陵科技学院软件工程期末复习题库(6)在线全文阅读。
相关推荐: