This is the sixth graded lab for CS2102.
There is no submitted code for this lab. You are only responsible for submitting answers to the following questions to the TA running the lab.
Note: The detail in this question is appropriate for a one-hour lab session, and would not be appropriate as part of a multi-question examination. It is likely you won't be able to finish everything in this question. Please pay attention to those areas you are having difficulty and review the study guide and past examples as shown in class.
A Bank has hired you as a consultant to review an initial object oriented design. Here is their problem description
FirstBank has several branches around the state.
While FirstBank currently only has 3 branches, we plan to expand to ten
branches within five years. Each customer in FirstBank is assigned to a
primary branch, although they can access machines at any branch.
FirstBank currently offers just checking and savings accounts, but there
are plans to expand to open a high interest-bearing Certificate of
Deposit Account. Each customer is assigned a checking account and may,
optionally, have a number of linked accounts. Each account has a balance
and a percentage interest. As per federal regulations, each Account may
specify another bank customer as a secondary holder (not the primary
account holder)
FirstBank routinely needs to know the sum of the assets stored at all FirstBank branches. |
Select three nouns in the above description that you have decided not to make classes? Explain briefly why not.
Take the classes that you are going to develop and draw them in box-form on a piece of paper.
Specify with each class selected in step 4.2 the operations and data that will be stored by that class.
Draw the relevant Association Lines and/or Inheritance relationships between the existing classes.
Date | Reason/Change |
12/12/06 | Ready to go |