An Introduction to Object-Oriented Programming

By Timothy Budd

Study Guide for Chapter 2

Learning Objectives

After reading this chapter, you should be able to:

Study Questions

You may wish to use the print or save as command on your web browser to produce a copy of this study guide. That way you can fill in the answers to the questions as part of your assimilating the information you learn in this chapter.
  1. What is the name given to the design technique driven by the determination and delegation of responsibilities ?
  2. Explain how an emphasis on behavior and responsibility is naturally linked to greater information hiding and a looser connection between software components.
  3. What are some of the characteristics that differentiate programming in the large from programming in the small?
  4. What is the main advantage of first describing an application in terms of behavior as opposed to, for example, discussing the basic data structures that will be used in the application?
  5. What is the principle purpose of walking through scenarious?
  6. What are the two most important characteristics of a software component?
  7. What do the three fields of a CRC card represent?
  8. What are some of the advantages of using a physical index card to represent a CRC card?
  9. What is the what-who cycle?
  10. Why should the user manual be written before actual coding of an application is begun?
  11. What are the most common sources of change in the requirments for an application over time? How can some of the difficulties inherient in change be mitigated?
  12. Describe in your own words the following aspects of software components
  13. What are Parnas's principles of information hiding?
  14. What are some guidelines to follow in the selection of names for components, arguments, behaviors, and so on?
  15. After design, what are the later stages of the software life cycle?
  16. What is a facilitator component?
  17. What is regression testing?
  18. What is software maintenance?

Contents copyright Timothy Budd, 1995.