Dance routines
Answers are for parents and teachers.
1
Write a dance of three moves (for example clap, stamp, spin) that repeats 4 times. Write it long, then short with a repeat. How many steps does the short one have?
Short: Repeat 4 times: clap, stamp, spin. The long version has 12 steps and the short one 1 repeat with 3 steps inside.
2
A sprite does: change x by 10, change x by −10, three times. Write it with a repeat. Where does it end if it started at x: 5?
repeat (3): change x by (10), change x by (−10). It ends at x: 5, where it started.
3
Why should the go to block not be inside a repeat block when you want the sprite to move across the stage?
The go to block would send the sprite back to the start on every loop, so it would never get far.
4
Two scripts start together. One takes 6 seconds and one takes 4 seconds. What would you add to make them finish together?
A wait of 2 seconds in the shorter script.
5
Draw the plan for a two-sprite show: which sprites, what each one does, and how long each takes.
Check that both routines take the same time (or have a wait), and that each begins with a reset.