What type of error is caused by a missing parenthesis?
What is a syntax error
Which tool helps you track values and see what your program is doing?
What is print()
What’s the first thing to do when a bug happens?
What is find the problem
What happened when a Mars rover had a bug?
What is it crashed due to a unit conversion error
What is abstraction in computer science?
What is hiding details to focus on what matters
Your program crashes when dividing by zero. What kind of error is that?
What is a runtime error
What is rubber duck debugging?
What is explaining your code out loud
After fixing a bug, what must you do?
What is test the program again
Name a real-life scenario where a small bug had a huge impact.
the Mars Climate Orbiter path
How does abstraction help with debugging?
It helps you look at one part at a time
Your code runs, but gives the wrong answer.
What is a logic error
What tool built into most coding environments helps step through code?
What is the debugger
How do print statements help in debugging?
What is they show variable values
How can a partner help you debug?
What is they can spot mistakes and help explain the code
How is debugging a process like the scientific method?
You observe, test, revise, and repeat
Which error type is usually caught before the program runs?
What is a syntax error
How can reading your code line-by-line help?
It helps you find small mistakes like typos or logic errors.
Why is it bad to "just guess" when fixing bugs?
You might make it worse or not find the real problem
What is a benefit of using version control?
What is it lets you undo changes or track bugs
What are 3 habits to avoid bugs?
What are clear code, frequent testing, and small steps
Give an example of a logic error.
(a + b) * 2 instead of (a + b) / 2 (to find an average)
What habit makes debugging easier by helping you stay organized?
What is commenting your code
Why is taking a break sometimes the best debugging move?
It gives you a perspective and reduces tunnel vision
Describe a personal or classroom bug you fixed and what you learned.
Student-generated.
How does debugging build resilience
It teaches problem solving, patience, and persistence