- Program Correctness (80%): The programs do everything that the
lab requires.
- PreLab Homework (6 points): 2 points for each question
- PostLab Homework (9 points): 3 points for each question
- Print Family Tree (25 points)
- Prints the family tree correctly (20 points)
- Uses the proper level of indenting for each level of the
family tree (e.g., the first level is indented no spaces,
the second level is indented 4 spaces, the third level is
indented 8 spaces, etc).
- Family Tree (40 points): Deduct 20 points if the solution does not use
a doubly linked list to associate names with family tree nodes.
- Correctly echos out all the lines in the input (8 points)
- Correctly calculates the position of each node (20 points): The
calculated totals may differ from mine by 1 or 2 pixels per node
- Error Checking (12 points) (3 points each)
- Check that the number of command line arguments is correct
- Check that the input and output files can be successfully opened
- Every parent must have at least one child so ensure
that each line in the input has at least two fields, one for
the parent and at least one for a child.
- Check that the input file is not empty (i.e., there must be at least
one line of input)
- Commenting (10%): See the commenting
information
on the course's web page for advice on how to comment your programs,
- Program Style (10%): Are the programs well-organized and do they
solve the problem in the most straightforward, efficient