Example #1
A bank allows customers to open savings accounts, checking accounts and to borrow money through loans. A customer may deposit money into accounts and withdraw money directly from savings accounts and from checking accounts through writing a check. The bank records data to distinguish between customers and to distinguish between a customer's accounts and loans.
A list of assumptions/requirements pertaining to our banking system:
1. No ATMs
2. No EFTs (electronic funds transfers)
4. Bank officers open all accounts (savings, checking, and loan)
5. Per Hugh don't worry about this one so I'm leaving it out
6. No interest is paid on checking accounts at this time
THE ASSIGNMENT:
1. Give a use case diagram for the banking system
2. Give 2 use cases in detail 1) Make a payment 2) Withdraw money
3. Give potential list of objects and describe 2 of those objects in detail (you choose which ones to give in detail)
4. Complete a class diagram of the system making sure to include relationships, methods, and attributes
Each group will present solutions to the class - can do this via power point or any other method you choose.
Wednesday, September 23, 2009
Individual Assignment due 9/29/09
Tell how you would create class C with single inheritance (NO multiple inheritance) given that Classes A and B already exist.
Subscribe to:
Posts (Atom)
