Activity 01
Pair Debug Relay: Error Fix Races
Provide pairs with printed code snippets containing 3-5 syntax errors. One partner types fixes into an online IDE while the other reads error messages and suggests changes. Swap roles after each successful run, then discuss the strategy used.
Analyze common syntax errors and their causes.
Facilitation TipDuring Pair Debug Relay, set a visible timer and rotate pairs every 3 minutes so students practice rapid error detection under light pressure.
What to look forPresent students with short code snippets containing common syntax errors (e.g., missing colon, unmatched parenthesis). Ask them to identify the error and write the corrected line of code. For example: 'Find the syntax error in this Python code: `if x > 5 print('x is greater')`.'