The PurposeThe 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 AssignmentDesign project two, using top down design. This process should be similar to the process we followed in class when we designed project 1 together. The document you turn in should resemble the design document we provided to you for project 1.
What to Turn InYou are to write the function prototypes for each of the functions you plan to have in your project. For this exercise, you must include the names of the parameters in the prototypes, not just their types. Each prototype should have a full function header comment above it as shown in the C Coding Standards and with a description of what the function does.
In addition to the prototypes, you should have one large comment that consists of two or three paragraphs explaining your design. This explanation should be sufficient so that one of the lecturers could draw a block diagram of function calls from it (like the one we did in class for project 1).
This design document MUST be called design2.txt
Why and How Much Does This CountThis design2.txt file will count as 10% of your project 2 grade. 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 design2.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 parameter to a function's parameter list, or the addition of another function or two.
If there were 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.
Obviously, if you do not turn in a design document at all, then you will lose 15 points.
Submitting the Design FileTo submit your design document, type the following at the Unix prompt. Note that the project name starts with uppercase 'P'.
submit cs201 Proj2 design2.txt
To verify that your design document was submitted, you can execute the following command at the Unix prompt. It will show all files that you submitted in a format similar to the Unix 'ls' command.
submitls cs201 Proj2
CSEE | 201 | 201 S'05 | lectures | news | resources | help |