Activity 01
Pair Programming Swap: Bug Hunt
Pairs create a simple program with one intentional syntax or logical error, then swap with another pair to test and fix it. Students document the error type, steps to find it, and the fix in a shared journal. Debrief as a class on common issues.
Differentiate between a logical error and a syntax error in code.
Facilitation TipDuring Pair Programming Swap: Bug Hunt, circulate and ask each pair to explain their error classification to you before moving on, ensuring accountability in discussion.
What to look forPresent students with two code snippets for a simple animation. One has a syntax error (e.g., a missing block), and the other has a logical error (e.g., moves the wrong direction). Ask students to identify which is which and explain why.