Project 4 Design
Due Date
- 11:59pm, Sunday, November 13th
- No late designs accepted
Objective
The objective of this assignment is to make sure that you begin thinking
about your project in a serious way early. This will not only give you
experience doing design work, but will help you anticipate the number of
hours that you'll need to set aside to be able to complete the project.
The Assignment
Part 1 - Designing Inheritance
Write the header files for the 4 Customer classes in the hierarchy. Be sure
to include at least one virtual or pure virtual function in the hierarchy.
Also be sure to include all common data and methods in the Customer class and
all derived-class specific data and methods in the derived classes. Include
appropriate header comments with pre and post conditions.
Part 2 - Testing System
Create 3 testing command files that you will use to test your system. They
should each focus on one of the derived-classes in the hierarchy. Be sure that
these command files thoroughly test your derived-classes.
Grading
You p4design.txt file will count as 10% of your project 4 grade
(part of the Correctness). If this file is not submitted by its due date,
or if you submit a new version
after its due date, you will lose all 10 points.
Your p4design.txt file will be compared to the header file or files that you
submit when Project 4 is due. Minor changes to the design are allowed. A
minor change might be the addition of another function or two or changing the
way in which one or two parameters are passed.
If there are major changes between the design document and the header files
that are part of the final project, you will lose 5 points. This would
indicate that you didn't give sufficient thought to your design before
beginning the implementation.
A template for your design document, p4design.txt,
is provided in Ms. Wortman's public directory. Copy that file
/afs/umbc.edu/users/d/a/dana3/pub/CMSC202/p4/p4design.txt
to your local directory and fill in the necessary information.
Submit your modified p4design.txt file to complete this assignment.