Chapter 23 Self-Check Quiz 1. Which of these should every object-oriented model be tested for? a. completeness b. consistency c. correctness d. all of the above 2. Because if the evolutionary nature of OO software development, there is no cost savings attributed to early detection of errors. a. True b. False 3. The correctness of the OOA and OOD models is judged based on the a. model's conformance to real world problem domain b. review of the connections between classes c. review of the modeling conventions used d. both a and c 4. To facilitate assessing the consistency of the OOA and OOD models, each class and its connections to other classes should be examined by reviewing the a. CRC model b. object-relationship model c. state transition function d. both a and b 5. Class testing for OO software is equivalent to unit testing in conventional software testing. a. True b. False 6. The OO testing integration strategy involves testing 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 7. To develop validation tests for OO software the tester should a. focus on user visible actions b. derive test cases from the object-behavior model c. look at use-cases from the analysis model d. all of the above 8. Test case design for OO software is driven by the algorithmic detail of the individual operations. a. True b. False 9. Encapsulation of attributes and operations inside objects makes it easy to obtain object state information during testing. a. True b. False 10. Use-cases can provide useful input into the design of black-box and statebased tests of OO software. a. True b. False 11. Fault-based testing is best reserved for a. conventional software testing b. operations and classes that are critical or suspect c. use-case validation d. white-box testing of operator algorithms 12. Testing OO class operations is made more difficult by a. encapsulation b. inheritance c. polymorphism d. both b and c 13. It is not necessary to test operators inherited by other objects. a. True b. False 14. Scenario-based testing a. concentrates on actor and software interaction b. misses errors in specifications c. misses errors in subsystem interactions d. both a and b 15. Deep structure testing is not designed to a. object behaviors b. communication mechanisms c. exercise object dependencies d. exercise structure observable by the user 16. Random order tests are conducted to exercise different class instance life histories. a. True b. False 17. Which of these techniques is not useful for partition testing at the class level a. attribute-based partitioning b. category-based partitioning c. equivalence class partitioning d. state-based partitioning 18. Multiple class testing is too complex to be tested using random test cases. a. True b. False 19. Test derived from behavioral class models should be based on the a. data flow diagram b. object-relation diagram c. state transition diagram d. use-case diagram Submit Test Reset Test
© Copyright 2026 Paperzz