Teaching article
Name a command block so it can be reused consistently
Name a sequence once and use that name in a larger program.
A short name can stand for a defined sequence in several places. Keep the definition visible and expand it when checking, so the name simplifies communication without quietly changing meaning between uses.
Define the block. Invoke it in two places. Expand to verify.
A block name promises the same commands each time
'Corner' can mean forward then right-turn in this notation.
Keep the block definition unchanged when reusing it. A named sequence is useful because readers can rely on the same meaning each time.
A block name needs a visible definition.
What commands does the name represent? Use one reusable block.
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
- Two correct routes can be compared by different criteria
- Look for exact repeated structure before writing a loop
- An arrow route is an algorithm only when the commands are clear
Explore Coding and computational thinking. Browse all teaching articles.
