Activity 01
Pair Programming: State Changer Challenge
Pairs use Scratch to create a sprite whose appearance and movement change with a variable updated by keyboard input. They set an initial value, add code to increment it, then test across multiple states like 'walking' or 'jumping'. Pairs swap projects to predict and verify changes.
Analyze how changing a variable's value impacts the flow of a simple animation.
Facilitation TipDuring Pair Programming: State Changer Challenge, circulate to ensure both partners take turns coding and discussing how variable changes affect the animation.
What to look forProvide students with a short Scratch project where a variable controls the size of a sprite. Ask them to write: 1. The name of the variable. 2. How changing the variable's value affects the sprite. 3. One suggestion for another sprite property that could be controlled by a variable.