Project 2 Design
Due Date
- 11:59pm, Sunday, Oct 3rd
- 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
Your design assignment is broken down into three parts.
- Class definitions.
In this section you will design the Truck class.
The public operations for this class are provided in the project description.
You must decide on the final function prototype for each public operation
You will also decide on the private data members for each class
Basically you are writing your .h file for each class.
- Write the complete function header comments for each member function of
the Truck class you defined above.
- A list of at least 3 tests you plan to perform to verify that your program works properly.
Consider such issues as
- Ill-formed command line
- Invalid user data
A template for your design document, p2design.txt,
is provided in Mr. Frey's public directory. Copy that file
/afs/umbc.edu/users/d/e/dennis/pub/CMSC202/p2/p2design.txt
to your local directory and fill in the necessary information.
Submit your modified p2design.txt file to complete this assignment.
Grading
You p2design.txt file will count as 10% of your project 2 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 p2design.txt file will be compared to the header file or files that you
submit when Project 2 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.