Saint Louis University |
Computer Science P125
|
Dept. of Math & Computer Science |
Topic: Object-Oriented Design
Related Reading: Ch. 1.4
Due:
Monday, 24 January 2005, 12:00pm
When faced with developing a large piece of software, it is quite important to take time to think about the potential design of the software well before you take the time to do the detailed coding. Since we have not yet begun to code this semester, this gives us a great opportunity to work on our ability for abstraction and design. The key to object-oriented design is to identify the relevant data and behaviors which components of the software might support.
Please make sure you adhere to the policies on academic integrity.
Exercise 1.19 of the text.
Exercise 1.22 of the text.
Consider an automated teller machine (ATM) at a bank. There are many relevant properties in the design of such a system. For example, should there be a per-day maximum imposed on withdrawls made by a given user, and if so what is this limit. Some such properties may only be relevant depending on the role of a particular person who interacts with the machine.
For this problem, please list at least three distinct properties which are relevant for the following people?
(Note: you cannot use the example we gave about the per-day limit)
Exercise 1.23 of the text.
Exercise 1.26 of the text.