Debugging is an essential element of learning to program. In this lesson, students will encounter puzzles that have been solved incorrectly. They will need to step through the existing code to identify errors, including missing blocks, extra blocks, and misordered blocks.
TASK – The “Organizers”
Today you will predict where a program will fail, modify an existing program to solve errors and identify an algorithm that is unsuccessful when the steps are out of order. In order to accomplish this, you’ll have to consider how you problem solve in your everyday life. The puzzles in this program have already been solved (yipee!), but they don’t look like they are functioning (noooo!). When we encounter these problems we recognize these as “bugs,” it will be your responsibility to “debug” these problems.
- Please visit the following website: Maze: Debugging to begin.
If you’d like to engage with more security resources, please visit the following link:
*Activity adapted from code.org: https://code.org/curriculum/course1/5/Teacher
How do you feel about creating routines and a set plan when working on a project?
RIASEC CAREER CONNECTIONS