Intro to CS: Object-Oriented Programming
Dr. Scott Smith
Nov 2 2000
Assignment

(n.b.: the lecture notes are at http://www.cs.jhu.edu/~scott/misc/intro2cs.html)

Name: _________________________________________________

  1. What is the particular issue in the language design space that object-oriented programming addresses?







  2. Give four important properties that real-world objects have and, for each property, an example of how each propery arises in some particular real-world object. Use a different example for each property as well.








  3. For the four above, also give an example virtual object expected to have those properties. Again, use a different example virtual object for each property.








  4. For each of Smalltalk, Java, and C++, state a significant advantage and disadvantage.






  5. Describe the business model for the banking domain (as in your bank where you have your checking account): list some of the real-world business objects and how they interact. You must give at least five objects and five interactions.