Activity 01
Pair Trace Relay: Loop Verification
Pairs receive pseudocode with loops. One partner fills the trace table row by row while the other verifies against rules. Switch roles after five steps, then compare final outputs and discuss any mismatches.
Explain how a trace table helps in understanding an algorithm's execution flow.
Facilitation TipDuring Pair Trace Relay, circulate to ensure pairs alternate roles clearly, with one student calling out values line by line and the other recording them.
What to look forProvide students with a short pseudocode algorithm containing a loop and a conditional statement. Ask them to complete a pre-drawn trace table for the first three iterations, focusing on correct variable updates. Check for accurate tracking of values.