CS 102 (Fall '07)
[Schedule]
[Programs]
[Notes
& Reference] [Examples][Syllabus]
[Lab & TA] [Tests]
[Grades]
See the schedule for due dates.
- Palindrome problem description.
Solution versions (to illustrates some of the steps in designing a program):
- Version 1 (starting template)
- Version 2 (outline as comments)
- Utility code generation program used to create parts of Version 3 (code with bugs)
- Version 4 (debugged solution)
- Version 5 (what it would have been like using methods, which we weren't allowed to do this time)
- Version 6 (storing characters in the string, which we weren't allowed to do this time)
- Crossword Puzzler
- 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)- 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- RicoRobots in C using Linked List, and a solution.
[CS Dept] [UIC] [Prof. Reed]