Activity 01
Pair Programming: Edge Detection Challenge
Pairs log into Scratch Juniors and program a sprite to move forward. Add an 'if touching edge, then turn' condition. Test runs, swap roles to debug partner's code, and share successes with the class.
Explain how an 'if-then' statement allows a program to make decisions.
Facilitation TipDuring Pair Programming: Edge Detection Challenge, circulate and ask partners to explain why their sprite reacts only at the edge, not elsewhere on the screen.
What to look forProvide students with a simple 'if-then' code block (e.g., 'if touching color blue, then say Hello'). Ask them to draw what the sprite would do if it touched the color blue, and what it would do if it touched the color red.