Activity 01
Role Play: The Human Compiler
One student is the 'CPU' and another is the 'Programmer'. The Programmer gives instructions containing loops and if-statements (e.g., 'Take 3 steps, IF you see a chair, sit down, ELSE clap'). The CPU must follow them exactly.
Explain how the order of instructions changes the outcome in a concurrent processing environment.
Facilitation TipDuring the Human Compiler activity, stand back and let students struggle slightly with the physical limits of their own bodies to highlight why computers cannot rearrange instructions.
What to look forPresent students with two short code snippets that are identical except for the order of two lines. Ask them to predict the output of each snippet and explain why the outputs differ.