Activity 01
Pair Programming: Robot Decision Path
Pairs drag if/else blocks to guide a robot: move forward if up arrow AND spacebar, turn if left OR right. Test paths on screen, swap roles to debug, then share one success with class. Record what each operator does.
Design a program that uses nested conditional statements to handle multiple scenarios.
Facilitation TipDuring Pair Programming: Robot Decision Path, circulate and ask each pair to verbalize why their conditions trigger the sprite’s movement before they run the code.
What to look forPresent students with a simple scenario, such as a character needing to cross a bridge. Ask them to write an 'if/else if/else' statement in pseudocode or block format to control the character's movement, considering conditions like 'bridge is clear' and 'water level is low'.