Please enable JavaScript to use CodeHS

Debugging in Karel the Dog

Finding and fixing errors in programs is a fundamental skill for new and experienced programmers to develop. This CodeHS course introduces debugging: the art and science of fixing broken programs. You'll learn techniques for finding common code errors and effective debugging strategies for Karel (JavaScript) exercises to share with students.

Overview & Highlights

Level
Middle School, High School
Contact Hours
5

Course Overview

To view the entire syllabus, click here or click to explore the full course.

Welcome to Debugging in Karel the Dog!
In this brief module, we give an overview of what the Debugging in Karel the Dog course is all about.
Introduction to Debugging
Learn about the history and key ideas of debugging in this lesson.
Basic Debugging in Karel
This module introduces fundamental concepts and techniques for debugging.
Stepping Through Code
This module introduces you to the step debugger that you can use for debugging Karel computer programs.
Using Error Messages
In this module we learn about common Karel programming errors and how to avoid them.
Breakpoints
This module looks at how to use breakpoints when debugging Karel programs.
Diagrams
This module looks at how to debug Karel programs with diagrams.
Pseudocode
This module looks at how to debug Karel programs with pseudocode.
Asking the Right Questions
This module wraps up the course by focusing on how to be a good facilitator in a computer science course by asking the right questions.
Course Wrap-up
Congratulations of completing the Debugging in Karel the Dog PD course! In this module, you can complete the course survey, earn your course badge, and receive a certificate of completion for 5 professional development hours.

10
Lessons
11
Videos
15
Exercises