- Program Correctness (65%)
- Correctness (30 points): Don't worry about formatting here. Just
worry about whether or not the correct people and times were printed.
- first query (6 points)
- last query (6 points)
- range mm:ss mm:ss (9 points)
- range * mm:ss (3 points)
- range mm:ss * (3 points)
- range * * (2 points)
- quit (1 point)
- Output (5 points):
- Runners were printed one per line (1 point)
- There was one space between each part of the runner's name (2 points)
- There were always two digits for the seconds, even if the
seconds was a number from 0-9 (2 points)
- Library (20 points)
- bst_find compiles and executes correctly (5 points)
- bst_print compiles and executes correctly (5 points)
- bst_traverse compiles and executes correctly (10 points)
- Error detection (10 points) (2 points each)
- Check that the number of command line arguments is correct.
- Check that the input file can be opened.
- Check that each line of input has exactly three fields.
- Check that the format of the time is correct and that the minutes and
seconds are both numeric. A time must have one
or more digits for the minutes and exactly two digits for the seconds.
- Check that a query is correctly formatted and print an appropriate
error message if it is not correctly formatted. Your error messages
do not need to precisely imitate mine but they should be easily
understood by a user.
- Design Document (15%): Was a reasonable effort made and was the document
turned in on time? (0 points if the document was not turned in on time).
- Commenting (10%): See the commenting
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