CS 102 (Fall '07)
[Schedule] [Programs] [Notes & Reference] [Examples][Syllabus] [Lab & TA] [Tests] [Grades]

Program Descriptions

Programs

See the schedule for due dates.
  1. Palindrome problem description.
    Solution versions (to illustrates some of the steps in designing a program):
    1. Version 1 (starting template)
    2. Version 2 (outline as comments)
    3. Utility code generation program used to create parts of Version 3 (code with bugs)
    4. Version 4 (debugged solution)
    5. Version 5 (what it would have been like using methods, which we weren't allowed to do this time)
    6. Version 6 (storing characters in the string, which we weren't allowed to do this time)
  2. Crossword Puzzler
  3. RicoRobots
    Rough solution (not fully commented) directory, and a mouse-driven version thanks to Scott Price (click on a robot and "flick" it in the direction you want it to travel)
  4. RicoRobots in C, and a solution. If you want to speed things up, you can run the program from the command line, with all the moves in a data file. For instance, if you put your moves into a datafile called input, then run your program from the command line as:
          RicoRobots < input
  5. RicoRobots in C using Linked List, and a solution.

Other

[CS Dept] [UIC] [Prof. Reed]