Activity 01
Think-Pair-Share: Bug Hunt
Each student receives a short buggy program and independently identifies what is wrong and why, without running the code. Partners then compare their diagnoses and reasoning before sharing with the class to surface the range of diagnostic approaches used.
Explain common debugging strategies and tools.
Facilitation TipDuring Bug Hunt, ask students to first read errors silently for 30 seconds before discussing, to build careful reading habits.
What to look forProvide students with a small, buggy Python script and a specific error message. Ask them to use a debugger to identify the line of code causing the error and explain, in writing, why it is incorrect.