Activity 01
Pair Trace Challenge: Bug Hunt
Provide pairs with a buggy algorithm printout and blank trace table. Partners alternate filling rows while explaining changes aloud, then swap to spot and fix the error. End with pairs presenting their corrected version to the class.
Analyze how a specific error in an algorithm manifests in a trace table.
Facilitation TipDuring Pair Trace Challenge, assign one student as the 'recorder' for the trace table while the other explains each step aloud to reinforce verbal reasoning.
What to look forProvide students with a short pseudocode snippet containing a logical error and a partially completed trace table. Ask them to complete the trace table and identify the line number causing the error, explaining their reasoning.