Activity 01
Pair Programming: Traffic Light Simulator
Pairs use Scratch to build a basic traffic simulation: set parameters like road length, then adjust variables such as car speed and light timing. Run trials, record jam times, and graph results. Discuss which changes cause backups.
Analyze how changing variables in a simulation affects the final outcome.
Facilitation TipDuring Pair Programming: Traffic Light Simulator, circulate and ask each pair to explain which part of their code represents a variable and which part is a parameter, focusing on the difference in their roles.
What to look forPresent students with a simple simulation interface (e.g., a basic ecosystem model). Ask them to identify two variables they can change and one parameter that remains fixed. Record their answers.