General Guidelines
- No late assignments except by emergency or prior arrangement.
- Assignments are due at the start of class.
Turning assignments in for Grading
- Staple all pages together.
- Arrange pages as follows:
- Program design
- Programming Log
- Source code
- Input file (if required)
- Output
Source Code
- Modular design mandatory.
- Names of variables and procedures should imply usage.
- Function parameters should be consistently ordered.
- Use standard indentation practices.
- Must be easily read by humans, even the instructor.
Internal documentation
As much as necessary, as little as possible (less == more).Header commentary should include:
All variables should be defined, even if self-explanatory./* file.cpp * * CS 121.Bolden.........Compiler version...........Your Name * Date .................Computer & CPU.............Your email address * * Brief description of program and objective. *--------------------------------------------------------------------- */
Every procedure/function needs a one-line (or more) explanation of purpose.Input Files
Identify any additional files (by filename.ext) that were used.Output
Should be self-explanatory (reader need not refer to source code).
- Title
- Raw and computed data, displayed in easily readable format.
- Name of programmer, and date of completion.
Bringing problems to the instructor (or a consultant)
- Eliminate all code except the module containing the error error driver.
- Bring outline/flowchart/pseudocode of program design, indicating where you believe the problem is occurring.
- Bring hard copy of current source code.