Paths and projects
Answers are for parents and teachers.
1
Draw a grid of 5 squares by 4 squares. Mark a start and a house. Write the algorithm for a path with two straight parts.
Any correct path, for example: up 3, right 4. Check each number by counting the squares.
2
Trace this program with a pencil. The character starts at 0 across and 0 up. Where does it finish?
3 across and 4 up: right 3, then up 4.
3
Leo wants his character to move up 3 and then left 2. Look at his blocks. Which block is wrong, and how do you fix it?
The second move block is wrong. It moves right, but it should be a move left block with 2.
4
Write the algorithm for a character that starts on the green flag, moves up 2, says “Look!” and then moves right 4. How many blocks does the program have, with the stop block?
Start on green flag; move up 2; say Look!; move right 4; stop. Five blocks.
5
Draw two characters on paper. Give each one a script of three blocks. Which one starts on the green flag, and which one starts on tap?
Any two scripts. Check that each one starts with a start block and ends with a stop block.