Activity : Debug It #3
Introduction
One of the more important skills to have as a programmer is the ability to read and fix other people's code. In this activity you will study five programs that don't work the way that the programmer wanted them to. You will see what you can do to fix them.
Duration
Requirements
Go to the Debug It #3 studio
For each of the five debugging challenges:
Write down your solution or remix the program with your solution
Suggestions
Make a list of possible bugs in the program.
Keep track of bugs that you see. This can be a great way to help you find bugs in your future work - by reviewing mistakes you have made or seen in the past.
Share and compare your method for finding and fixing the problem with another Code Dojo member. Sometimes there is more than one way to solve a problem and it helps to see multiple solutions.
Things to think about when you are done
For each:
What was the problem?
How did you identify the problem?
How did you fix the problem?
Can you see other ways to solve the problem?
Credits
This project is based on materials from the the Creative Computing curriculum by Brennan, Balch, and Chung and code originally written by the Scratch Ed Team but has been modified to fit current expected progress of the Cedar Valley Coder Dojo.