Task 3 • One instruction, 11 lines

Students examine the code they wrote in Task 2 and ask whether 11 separate instructions are really necessary. They identify what stays the same and what changes, introduce variables as placeholders for changing values, and build a loop that draws all 11 lines from a single instruction.

AUS Year 6 NSW Stage 4 WA Year 6 VIC Level 6

Number: The secret patterns behind string art

View Sequence overview

A loop can replace a repeating sequence of instructions with a single set of instructions.

A variable can stand in for a value that changes in a predictable way.

Task