An Introduction to Object-Oriented Programming

By Timothy Budd

Study Guide for Chapter 17


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 as you read the material.
  1. What does the term visibility mean? How is visibility associated with the connections between software components?

  2. List the forms of coupling, ordered from strongest coupling to weakest.

  3. How can internal data coupling or global variable coupling be reduced to parameter coupling?

  4. List the forms of cohension, ordered from weakest to strongest.

  5. What form of access is prohibited by the Law of Demeter? What form of access is permitted?

  6. What is the distinction between class level and object level visibility rules?

  7. What is an active value? How does inheritance simplify the creation of an active value?

  8. In what way is the devloper of a subclass different from other users of a class abstraction?

  9. How does the division of visibility into private, protected and public features simplify the task of program modification?

  10. How does a private inheritance alter the visability of inherited attributes?


Contents copyright Timothy Budd, 1995.