Note- This lesson uses the "Debug it!" handouts.
Reflecting: Design notebook question
· Look at your response to the Lesson #4 design question. What new strategies have you learned for dealing with getting stuck?
Exploring: Debug it!
· Divide into teams of four people.
· Each team uses the Debug it! handout set, which contains 5 programs to debug and a prompt to design a new debugging challenge.
Note - Testing and
debugging is probably the most common activity of programmers. Things rarely
work as planned, so developing a set of testing and debugging strategies will
be beneficial to any computational creator.
Have fun working as a team to "debug" your handouts.
You have about 35 minutes.
Reflecting:
Comparing debugging strategies
· When finished, discuss and compare the
various approaches to fixing the bugs.
o What was the problem?
o How did you identify the problem?
o How did you fix the problem?
o Did others have alternative approaches to
fixing the problem?
· Share with other groups how you and your group defeated the debugging challenge!