Error Types
Debugging Tools
Fixing Bugs
Real-World Debugging
Big Ideas
100

What type of error is caused by a missing parenthesis?

What is a syntax error

100

Which tool helps you track values and see what your program is doing?


What is print()

100

What’s the first thing to do when a bug happens?

What is find the problem

100

What happened when a Mars rover had a bug?

What is it crashed due to a unit conversion error

100

What is abstraction in computer science?

What is hiding details to focus on what matters

200

Your program crashes when dividing by zero. What kind of error is that?

What is a runtime error

200

What is rubber duck debugging?

What is explaining your code out loud

200

After fixing a bug, what must you do?


What is test the program again

200

Name a real-life scenario where a small bug had a huge impact.

the Mars Climate Orbiter path

200

How does abstraction help with debugging?

It helps you look at one part at a time

300

 Your code runs, but gives the wrong answer.

 What is a logic error

300

What tool built into most coding environments helps step through code?

What is the debugger

300

How do print statements help in debugging?

What is they show variable values

300

How can a partner help you debug?

What is they can spot mistakes and help explain the code

300

How is debugging a process like the scientific method?

You observe, test, revise, and repeat

400

Which error type is usually caught before the program runs?
 

What is a syntax error

400

How can reading your code line-by-line help?

  • It helps you find small mistakes like typos or logic errors.

400

Why is it bad to "just guess" when fixing bugs?

You might make it worse or not find the real problem

400

What is a benefit of using version control?

What is it lets you undo changes or track bugs

400

What are 3 habits to avoid bugs?

What are clear code, frequent testing, and small steps

500

Give an example of a logic error.
 

 (a + b) * 2 instead of (a + b) / 2 (to find an average)

500

What habit makes debugging easier by helping you stay organized?

What is commenting your code

500

Why is taking a break sometimes the best debugging move?

It gives you a  perspective and reduces tunnel vision

500

Describe a personal or classroom bug you fixed and what you learned.


Student-generated.

500

How does debugging build resilience

It teaches problem solving, patience, and persistence