Repeat blocks
Answers are for parents and teachers.
1
Write an algorithm for tidying your toys with at least five steps. Use one repeat, for example “repeat 6 times: pick up a toy, put it in the box”.
Any sensible order of steps with one repeat. Check that the repeat has a number and that the steps inside it are the ones that happen again.
2
Do this program with your body: repeat 3 times: hop twice and clap once. How many hops and how many claps?
6 hops and 3 claps.
3
Make the program shorter: up 1, spin right 6, up 1, spin right 6, up 1, spin right 6.
Repeat 3 times: up 1, spin right 6.
4
Make a flipbook of six pages with a ball that goes up and down. Show it to a family member and tell them where a repeat could be used.
The ball goes up and down over and over, so a repeat could be used for “up, down”.
5
A character has this program: start on tap, repeat 5 times: right 3. How many squares does it move in all?
15 squares (5 × 3 = 15).