Describe a time code broke on you, and reframe the error as useful information.
Show worked solution
A strong answer takes a real error experience and reframes it from 'I failed' to 'the computer told me what was wrong and where', showing the mindset shift that errors are normal, expected and informative rather than a verdict.
Take an error message/traceback and explain what each part tells you.
Show worked solution
Good answers identify the three parts - where (file/line), the error type, and the message - explain reading the last line first, and note that the error type (NameError/TypeError/KeyError...) hints at the category of mistake.
Add print statements to a piece of code to reveal what it's actually doing.
Show worked solution
Strong answers place prints to check assumptions (a variable's value/type at key points, inside a loop), explain the bracket-and-narrow strategy, and note that bugs live in the gap between assumed and actual behaviour.
Explain how you'd isolate a bug hidden in a long program.
Show worked solution
Good answers describe bisecting (checking the midpoint, finding the bad half, repeating - binary search for bugs), building a minimal example, and rubber-ducking (explaining out loud) - shrinking the search area rather than reading harder.
List three common bugs and the symptom that would make you suspect each.
Show worked solution
Strong answers pair classics with symptoms: off-by-one (only edges wrong), missing return (unexpected None), text-vs-number (from input/files), = vs == , or mutating while looping - showing debugging as pattern recognition.