Design a shape-sorting algorithm
Practise online with Next and Previous buttons, worked explanations and a report of the questions to review.
Log in to continueUse ordered decisions and explain why the classification is consistent.
One-question preview
Choose one answer
Try this sample, or continue to the online quiz for a practice set with Next and Previous buttons.
A triangle sorter first asks whether all 3 sides are equal. A triangle has sides 4, 4, 4. Which branch should it take?
Show worked steps
Answer: YES: all three sides are equal
- Compare all three side lengths.
- All match, so the first YES branch applies.
This is a question from this topic’s quiz. Preview answers are not saved.
Scratchpad
Working out
Draw with a finger, pen or mouse, or type your working below.
Your working stays on this page. It is not submitted or saved, and clears when you leave or reload.
Curriculum reference
Victorian Curriculum F–10 Version 2.0
Pi Leo practice scope
Use ordered decisions and explain why the classification is consistent.
Read the official VCAA curriculum description (VC2M7SP04)
These quizzes practise concepts within this topic. Multiple-choice answers alone do not demonstrate drawing, conducting an investigation or using a digital tool.
Activities to practise beyond the quiz
- Supported by the guided activity; selecting an MCQ does not demonstrate this action.
- VC2M7SP04-C01Read the exact attribute being tested: number of sides, equal sides or angle sizes. A YES/NO decision uses the supplied facts; how a sketch happens to look is not enough.
- VC2M7SP04-C02A regular polygon needs equal sides and equal angles. A rectangle needs four right angles; a square also has four equal sides. Follow every branch in order, and decide whether the output classes may overlap.
- VC2M7SP04-C03Use a counterexample to test a proposed rule. A non-square rhombus shows that four equal sides alone do not guarantee a square. If the output must distinguish equilateral triangles from other isosceles triangles, test the more specific condition first.
- VC2M7SP04-C04Creating, conducting or using the described practical or digital activity; selecting an MCQ answer does not demonstrate this action.
Learn with worked examples
Help with this topic
Skills in this topic
Traceable coverage
Subskills
These practice subskills map to the curriculum topic. Guided activities cover skills beyond multiple-choice questions.
Descriptor-derived subskills
- D01Follow a shape decisionRead the exact attribute being tested: number of sides, equal sides or angle sizes. A YES/NO decision uses the supplied facts; how a sketch happens to look is not enough.
- D02Link several testsA regular polygon needs equal sides and equal angles. A rectangle needs four right angles; a square also has four equal sides. Follow every branch in order, and decide whether the output classes may overlap.
- D03Debug a classification ruleUse a counterexample to test a proposed rule. A non-square rhombus shows that four equal sides alone do not guarantee a square. If the output must distinguish equilateral triangles from other isosceles triangles, test the more specific condition first.