This is an exercise that teaches condition-controlled loops.
A condition-controlled loop is a repetition that happens as long as a condition is true or false. Loops of this kind are used in algorithms when we do not know from the beginning the number of repetitions needed.
Observe the map below. You have to create a diagram of an algorithm to get from one place to another. The main focus of the algorithm will be the condition-controlled loops. Instead of saying “go 3 steps forward”, you will say “go forward until you reach the zebra crossing”. And, for when you have to cross the street, the algorithm should say “do nothing until the traffic lights turn green”.
Download the document below for the complete exercise: