|
KabInfo.NetTest Strategies
|
|
|
1. With thorough testing it is
possible to remove all defects from a program prior to delivery to the customer.
a. True b. False 2. Which of these are objectives for software testing? a. determine the productivity of programmers b. eliminate the need for future program maintenance c. eliminate every error prior to release d. uncover software errors 3. Test cases should be designed long before testing begins. a. True b. False 4. Which of the following are characteristics of testable software? a. observability b. simplicity c. stability d. all of the above 5. The testing technique that requires devising test cases to demonstrate that each program function is operational is called a. black-box testing b. glass-box testing c. grey-box testing d. white-box testing 6. The testing technique that requires devising test cases to exercise the internal logic of a software module is called a. behavioral testing b. black-box testing c. grey-box testing d. white-box testing 7. What types of errors are missed by black-box testing and can be uncovered by white-box testing? a. behavioral errors b. subtle logic errors c. performance errors d. input error 8. Program flow graphs are identical to program flowcharts. a. True b. False 9. 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 10. The cyclomatic complexity of a program can be computed directly from a PDL representation of an algorithm without drawing a program flow graph. a. True b. False 11. Condition testing is a control structure testing technique where the criteria used to design test cases is that they 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 12. Data flow testing is a control structure testing technique where the criteria used to design test cases is that they 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 13. Loop testing is a control structure testing technique where the criteria is used to design test cases so that they 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 14. Black-box testing attempts to find errors in which of the following categories a. incorrect or missing functions b. interface errors c. performance errors d. all of the above 15. Graph-based testing methods can only be used for object-oriented systems a. True b. False 16. 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. True b. False 17. Boundary value analysis can only be used during white-box testing. a. True b. False 18. Comparison testing is typically done to test two competing products as part of customer market analysis prior to product release. a. True b. False 19. Orthogonal array testing enables the test designer to maximize the coverage of the test cases devised for relatively small input domains. a. True b. False 20. Real-time applications add a new and potentially difficult element to the testing mix a. performance b. reliability c. security d. time |
|