• Program Correctness (75%): The programs do everything that the lab requires. If you have a question about how a program handles a certain input, check the executables that have been provided.

    1. maze (40 points):
      1. (22 points): Works on mazedata.txt.
        1. (16 points): maze walls correctly laid out
        2. (6 points): objects correctly placed in the maze
      2. (18 points) Non-boundary conditions: Try maze with a few different maze files and make sure that the program works correctly with each file. Do not insert blank lines into the input or use any type of erroneous input. I would create 3 files, so that you can assign 6 points to each file. For each file award 4 points for a correctly laid out maze and 2 points for a correct positioning of the objects.
    2. neg (15 points)
      1. (5 points) uses command line arguments to determine the input and output files
      2. (10 points) inverts a pgm file properly
    3. hflip (20 points):
      1. (5 points) uses command line arguments to determine the input and output files
      2. (15 points) flips a pgm file horizontally

  • Commenting (15%): 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 way possible?