Teaching article
Look for exact repeated structure before writing a loop
Identify repeated structure that can simplify instructions.
A staircase route may contain recurring blocks, but similar-looking segments can hide a different turn. Compare the commands within each proposed block before deciding that one repeat instruction can represent them all.
Trace one section. Find matching sections. Describe a reusable pattern.
Match the complete blocks
Compare complete blocks command by command. A repeated visual shape may still contain a different turn that prevents exact reuse.
Forward-forward-turn may recur as a complete block.
Does every block match exactly? Mark block boundaries.
Similar-looking fragments may not be identical.
Resources
- Human Robot Commands – Coding Without Screens Printable Game — Check the command conventions before using the sequence or debugging task.
Further reading
- CS Unplugged — Kidbots and algorithm activities
- Australian Curriculum Version 9 — Technologies overview
Read next
- The same commands can finish differently from different starts
- Forward means the way the robot faces
- A sequence follows order; a conditional selects an action
Explore Coding and computational thinking. Browse all teaching articles.
