Project 2 Grading Sheet
Please turn in this sheet stapled to the printout of your program.
- Style (50 points)
- _____ (5 points) Program has appropriate comments at the top
that describe what the program accomplishes, and who wrote it.
- _____ (5 points) The comments include the full name of the
folder containing the program (for example,
I:\CSC121\CSC12101\Project2
). I need this so that I can easily
find your program on the network drive.
- _____ (10 points) All functions have correct pre- and
post-conditions. Points will be subtracted if they are not true or are
incomplete. Comments should be used at other points in the code to help
explain anything difficult or confusing.
- _____ (10 points) The code is neatly and consistently indented,
and blank lines are used to separate function definitions.
- _____ (10 points) All variable, constant, and function names
(and any other identifiers) are descriptive and appropriate. It is OK to
use
x
for an x-coordinate or i
for a loop index, but in
general a name should be a (meaningful) complete word or phrase. Named
constants are used instead of numeric values (for example, use a
constant such as MAXIMUM_TIME
instead of the value 960).
- _____ (10 points) Each function does one unique task and no
function is inappropriately long. A rule of thumb is that the entire
function should fit on the screen when editing it. If a section of code
is repeated several times, perhaps with slight variations, then it
should probably be split off into a separate function (with parameters
to exchange the required information).
- Program Operation (50 points)
- _____ (5 points) Required input values are obtained from user
and checked for errors.
- _____ (7 points) Main simulation loop is correct.
- _____ (10 points) Arrivals are handled correctly.
- _____ (5 points) Movement from the front of the line to the
copier is correct.
- _____ (5 points) Processing of copier job is correct.
- _____ (18 points) Required statistics are collected and printed
(3 points for each of the 6 statistics).
- Late Penalty
- _____ As described in the syllabus, ``Late submissions will be
accepted until the next class time at a penalty of half the grade.
Extensions will be considered only by prior arrangement.''
Submission time will be determined by the last modification time on the
source file in the
I:
drive, so be sure not to edit the project
after it has been submitted.