To look at different types of loops: counted loops (repeat
a number of times) and indeterminate loops (repeat until
and repeat while
)
• Levels 29 to 32 in Rapid Router
• Video about repeat until and repeat while: https://youtu.be/EDwc80X_LQI
• One printed copy of the worksheet per group. Digital version for display on the IWB
repeat until
repeat while
repeat n times
Introduce level 29 on the IWB and ask pupils what they think repeat-until
will do; point out the at destination
block if necessary
Ask a volunteer to test this out with this simple route. Solution:
3. Do this again with level 30
4. Show video about repeat until
and repeat while
Mini Review (5 mins)
Ask the pupils to discuss with their partner the difference between repeat until at destination
and repeat
a number of times – write this as a question on the IWB
Ask pupils what answer they came to
Pupils complete levels 29 - 32 in pairs
Pupils who finish can do a random level in the 29 – 32 set. (Click quit, open the 29-32 set, then click random level)
Hand out copies of the worksheet
Demonstrate how the grid should be filled in (pupils often do not use the grid squares) but do not show any part of the solution
Ask pupils to draw the route where repeat until at destination would work
Pupils discuss the activity in pairs
Draw a solution on the IWB and ask who had a different answer. Is there more than one correct answer? Why?
Pupils should hand in their solutions to the teacher
If pupils finish these activities before the end of the session, allow them to do random levels in the Loops with Conditions section.
Share and Review (10 mins)
• Explain that next time you are going to look at Loops with conditions.
• What did pupils find difficult?
• How did they solve their problems?
• Recap on the keywords