20 November 2001
You can obtain the sample input and output files that were used to
grade Project 3. They are located on the gl machines under
directory:
/afs/umbc.edu/users/b/b/bbenin1/pub/cmsc202/fall01submit/proj3
There are 16 output files (correct.output1, ..., correct.output16)
corresponding to 16 cases tested for in my main, which is in file:
202.proj3.grader.C
To compare your output with mine, first compile my .C file with your
source code files (not including any main functions of yours). Then,
you can generate output for test case #x by typing:
proj3 x
You can compare the output produced by your program to the correct output
in the output files. For the purposes of grading, arrays were allowed to
print out with any spacing (one element per line, all on one line,
whatever); any other non-trivial discrepancies resulted in a point
deduction.
Sections 0101 - 0104
Modifications were made to 202.proj3.grader.C when your projects were
graded. The driver program used to test your projects is 202.proj3.dlf.C
(also found in
/afs/umbc.edu/users/b/b/bbenin1/pub/cmsc202/fall01submit/proj3)
which produces less output for each test case than found in the
correct.output files. With this one exception, the directions given above
for
compiling and testing your code still apply.
The output that is produced by your program
should still match the corresponding output in the correct.output files.