COMP 200: Elements of Computer Science
Spring 2013

Practice Debugging

Many of you will finish these exercises before the end of class. Use the extra time to work on your current assignment.

If and when you have questions outside of class, we strongly encourage you to use the email address comp200@. You'll likely get a quicker response than if you email one of the instructors, since this is read by all the course staff.

Exercises

Each of the following mini-programs are broken. Some have multiple mistakes. Some errors lead to error messages, but some only lead to the wrong results. Their documentation strings describe what they should do. Fix them.