1. Choose a first test
Start with a clear property that splits the input shapes into useful groups.
Try it · What first test separates triangles from quadrilaterals?
Count the sides.
YEAR 7 MATHS · AC9M7SP04
Write and test ordered decisions that classify shapes by their properties.
WORKED EXAMPLE
The instruction must state the centre of rotation and whether the turn is clockwise or anticlockwise.
Start with a clear property that splits the input shapes into useful groups.
Count the sides.
Say what happens for both yes and no at every decision.
Whether all four sides have equal length.
Check shapes that meet several conditions and shapes that meet few.
To check that the algorithm uses properties instead of orientation.
Four equal sides and four right angles.
We are learning to design precise spatial algorithms that use ordered steps, decisions, repetition and stopping conditions.
A spatial algorithm is a finite set of precise instructions for constructing, transforming or navigating a geometric object. Its input and coordinate system must be stated, and a translation needs a vector, a reflection needs a mirror line, and a rotation needs a centre, angle and direction.
Iteration repeats a defined block of steps, but the algorithm must say whether each new transformation acts on the original object or the latest image. A counter or geometric condition controls repetition, and a stopping condition prevents an endless loop or an unwanted duplicate image.
Decision branches make the next action depend on a test such as whether a point lies inside a boundary. A reliable algorithm gives an action for every possible result, can be traced manually on a small input, and produces the same output whenever the same input and conditions are used.
Use these models to connect the mathematical idea to values, diagrams, coordinates, graphs or structure before moving to symbolic calculation.
Follow each example from representation and setup through calculation/reasoning, interpretation and an independent check.
Example 1
Final answer: The algorithm records exactly six equally spaced images and stops when image_count reaches 6.
Check: Tracing the counter gives five rotations after the original, and one further rotation would reproduce the original position, so the stopping condition is correct.
Example 2
Final answer: The output contains four congruent triangles whose A-vertices are (0, 0), (3, 0), (6, 0) and (9, 0).
Check: Every corresponding coordinate differs by the fixed vector (3, 0), and the counter ends at exactly four recorded triangles.
Example 3
Problem: An algorithm says: rotate a shape 90° clockwise about the origin, repeat 4 times, then stop. Explain the final position and identify the condition that guarantees the algorithm terminates.
Final answer: Four 90° rotations total 360°, so the shape returns to its starting position. The fixed repeat count of 4 is the termination condition.
Check: This synthesis problem combines the chapter's core representation, calculation and reasoning skills.
Example 4
Problem: Design an algorithm that creates a row of four congruent triangles from A(0, 0), B(2, 0), C(1, 2) using translation by (3, 0), and include an explicit decision and stopping rule.
Final answer: Record the original and set count to 1; if count equals 4, output and stop, otherwise translate every vertex of the latest triangle by (3, 0), record it, add 1 to count and return to the decision, producing A-vertices at (0, 0), (3, 0), (6, 0) and (9, 0).
Check: The algorithm combines a fixed transformation with a counter-controlled loop that outputs exactly four triangles.
Common mistake: The instruction 'rotate the triangle' is precise enough for a computer or another person to follow.
Correction: A rotation must specify the centre, angle, direction and which image is rotated.
Common mistake: A repeated geometric process will stop when the design looks finished.
Correction: A reproducible algorithm needs a measurable stopping condition such as an image count.
Common mistake: Testing only the first iteration proves that an algorithm works for all later iterations.
Correction: Later values can trigger a different branch or reveal a faulty loop, so boundary and stopping cases must also be traced.
Attempt each problem before opening Check answer. The set moves from core understanding to application and synthesis.
1. State the missing information in the instruction 'Rotate point P by 90 degrees.'
Answer: The instruction must state the centre of rotation and whether the turn is clockwise or anticlockwise.
Hint: Ask where the point turns around and in which direction it moves.
Why: An angle alone does not uniquely define a rotation.
2. A loop records the original square as image 1 and adds one translated image each time until image_count equals 5; how many translations are performed?
Answer: The loop performs 4 translations.
Hint: Count the additional images needed after image 1.
Why: The original is already counted, so four new images are needed to reach a total of five.
3. Explain the purpose of a stopping condition in a spatial algorithm.
Answer: A stopping condition ends repetition when the required geometric output has been produced.
Hint: Consider what would happen if a loop had no instruction telling it when to end.
Why: A measurable stopping rule makes the algorithm finite and reproducible.
4. Start at point (1, 2) and repeat the translation (3, −1) twice; what are the coordinates after each iteration?
Answer: After the first iteration the point is (4, 1), and after the second iteration it is (7, 0).
Hint: Use the first image, not the original point, as the input to the second iteration.
Why: Each iteration adds the same vector to the latest image coordinate.
5. Repair the instruction 'Move every vertex to the right and down' so it defines one exact coordinate transformation.
Answer: One valid repair is 'Translate every vertex by the vector (4, −2), so add 4 to x and subtract 2 from y.'
Hint: Choose and state an exact horizontal change and an exact vertical change.
Why: A numerical vector replaces vague direction words with a reproducible movement.
6. An algorithm tests whether any transformed vertex has x greater than 10; write complete actions for both outcomes so the design remains inside the grid.
Answer: If any vertex has x greater than 10, discard that image and stop; otherwise, record the image and continue to the next iteration.
Hint: Write one instruction for when the boundary is crossed and one for when it is not.
Why: A complete decision specifies distinct actions for both the true and false results.
7. An algorithm reflects the latest image in the y-axis repeatedly and is meant to make two distinct images; identify an appropriate stopping condition.
Answer: Record the original, reflect it once in the y-axis, record the image, and stop when image_count equals 2.
Hint: Trace the effect of applying the same reflection twice.
Why: A second reflection would return to the original position and create a duplicate.
8. Trace this algorithm: begin with P(1, 0), set count to 0, and while count is less than 3 rotate the latest point 90 degrees anticlockwise about the origin and add 1 to count; list every new coordinate.
Answer: The three new coordinates are (0, 1), (−1, 0) and (0, −1), after which count equals 3 and the loop stops.
Hint: Record the coordinate and counter value after each rotation before testing the loop again.
Why: Repeated 90-degree anticlockwise rotations apply (x, y) to (−y, x) to the latest point three times.
9. Design an algorithm that creates a row of four congruent triangles from A(0, 0), B(2, 0), C(1, 2) using translation by (3, 0), and include an explicit decision and stopping rule.
Answer: Record the original and set count to 1; if count equals 4, output and stop, otherwise translate every vertex of the latest triangle by (3, 0), record it, add 1 to count and return to the decision, producing A-vertices at (0, 0), (3, 0), (6, 0) and (9, 0).
Hint: Count the original as the first triangle and test the count before adding each new image.
Why: The algorithm combines a fixed transformation with a counter-controlled loop that outputs exactly four triangles.
10. An algorithm says: rotate a shape 90° clockwise about the origin, repeat 4 times, then stop. Explain the final position and identify the condition that guarantees the algorithm terminates.
Answer: Four 90° rotations total 360°, so the shape returns to its starting position. The fixed repeat count of 4 is the termination condition.
Hint: Represent the information first, then calculate, interpret and independently check the result.
Why: This synthesis problem combines the chapter's core representation, calculation and reasoning skills.
Content description: design and create algorithms involving a sequence of steps and decisions that will sort and classify sets of shapes according to their attributes, and describe how the algorithms work.
The Australian Curriculum code above is exact. Victorian Year 7, NSW Stage 4, US Grade 7, England Key Stage 3, New Zealand Level 4 and comparable international curricula contain broadly related learning, but code-to-code equivalence varies by jurisdiction.
Mapped skill: design and create algorithms involving a sequence of steps and decisions that will sort and classify sets of shapes according to their attributes, and describe how the algorithms work
These references identify matching or closely related learning. Curriculum sequence, terminology and depth vary, so teachers should use the mapped skill and lesson difficulty to confirm suitability.
| Region | Curriculum framework | Closest level or code |
|---|---|---|
| Australia | Australian Curriculum v9.0 | AC9M7SP04 · Year 7 |
| Victoria | Victorian Curriculum F–10 Version 2.0 — Mathematics | VC2M7SP04 · Level 7 |
| New South Wales | NSW Mathematics K–10 Syllabus (2022) | MA4-GEO-C-01 + MAO-WM-01 · Stage 4 |
| United States (USA) | Common Core State Standards for Mathematics | Grade 7 |
| Canada (Ontario) | Ontario Curriculum — Mathematics | Grade 7 |
| United Kingdom (England) | National Curriculum in England — Mathematics | Year 8, Key Stage 3 |
| India | NCERT / CBSE — Mathematics | Class 7 |
Australian Curriculum v9.0 is the canonical source for this SkillrHub lesson. Victoria and NSW entries name the closest published state codes or outcomes; international entries are planning references rather than claims of identical curricula.
Related topics
Published and maintained by SkillrHub. Australian Curriculum v9 code: AC9M7SP04.
Free learning resources and examples for this Australian Curriculum topic. Try free practice questions in published banks and save progress with a free account, confirmed email and selected learner profile. Optional paid worksheet packs are separate.
Supported guests: 20 free questions daily. Registered accounts: 500 free questions in total across subjects, including guest questions already used. Some banks require an account. Read the access details.
Matching question-bank review: a completed review is not yet recorded for this code.
Read our editorial standards · Report a correction for AC9M7SP04