K+ (Ages 4+)
40 minutes per lab
Unit Essential Question(s)
- What do I do when my robot does not do what I want it to do?
The following concepts will be covered throughout this Unit:
- A bug is an error in a coding project that makes the robot not behave as intended.
- Debugging is the process of identifying, finding and fixing a bug in a project to make it work as intended.
- The Step button on the Coder can help us easily locate bugs in our projects.
- That bugs in code are an opportunity to learn, and that debugging is an expected part of the coding process.
Click on the following tabs for a summary of what the students will do and learn in each lab.
Unit Standards will be addressed in every Lab within the Unit.
Computer Science Teachers Association (CSTA )
CSTA 1A-AP-14: Debug (identify and fix) errors in an algorithm or program that includes sequences and simple loops.
How Standard is Achieved: In Lab 1, Play Part 1, students are introduced to the concept of a bug, and what it means to debug a project. They work as a whole class to identify a bug in a coding project, and are introduced to a debugging process. They use this process to work together to fix the bug. In Play Part 2, students work in small groups to identify and fix a bug in an incorrect project using the debugging process.
In Lab 2, Students are introduced to the Step button on the Coder, and build on their experience in Lab 1 by engaging in a whole class project to find and debug a different bug in the same project that they worked with in Play Part 2 of Lab 1. In Play Part 2, they work in small groups to debug an incorrect project they have been given, this time using the Step button on the Coder to locate the bug.