Students follow, fix and test algorithms that classify triangles and quadrilaterals, and describe how each works (AC9M7SP04, nodes 1 and 2).
Load these into Waypoints Prepare: choose Load URL and paste the copied address, or download the file and import it. In Prepare, the worksheet's Teacher edition shows the answers; the student copy hides them.
Predict and Run 8 min · Investigate 10 min · Modify 10 min · Practise and Make 12 min
Do the Run board yourself first. Students need the triangle and quadrilateral classes (Classifying shapes lessons).
The one idea: each shape must reach its own name, so the most specific question comes first. A short algorithm can be wrong; testing on one shape of every class finds it (Pia's mistake).
The board follows the key one question at a time; it is the same tool students use for living things in science. Students design on paper: the Make task asks for an algorithm for triangles by angles, drawn as a flowchart or written as numbered steps.
Judging two algorithms for efficiency (fewest questions) and for edge cases (the kite) are wider ideas.
This links to Code: an algorithm written in steps is a program with if and else.
Ordering the questions. Ask students to say which shape each question separates before they put it in a position.
| What you will see | A question to ask | The fix |
|---|---|---|
| A student asks the general question first. | What would a square be called by this question? | Ask the most specific question first. |
| A student tests on one shape. | Which classes has your test not reached? | Test one shape of every class. |
| A student has a path with no end. | Where does a 'no' lead? | Every yes and every no must lead on to another question or a name. |
Start with a triangle and measure its three sides.
Ask: are all three sides equal? If yes, say equilateral and stop.
Ask: are two sides equal? If yes, say isosceles and stop.
Otherwise, say scalene.
One possible solution for each task. Other correct programs are fine.
Open task: any program that does what the step asks.
Open task: any program that does what the step asks.
Open task: any program that does what the step asks.
Open task: any program that does what the step asks.
Open task: any program that does what the step asks.
Stretch: Compare two correct algorithms for the same job: which asks fewer questions on average? Then write the triangle algorithm in Python with `if` and `else`.
Support: Give students the questions on cards and ask them to lay out the order before they use the board.
For a student who has done the lesson and is still stuck. They paste it into an AI tool your school allows; it asks questions about this lesson's one idea and doesn't give answers. Students see it on the course recap page only through a link ending in ?coach=1: recap with coach prompts.
You are a patient maths coach for a Year 7 student in Australia. Help me understand the ideas in ONE lesson only, from the lesson "Algorithms for classifying shapes". The ideas: - Designing a classification algorithm: I can Students design a step-by-step algorithm (as a flowchart or decision tree) that classifies shapes according to their attributes. - Describing and evaluating algorithms: I can Students describe in words how an algorithm works and evaluate its correctness by tracing through it with test cases. What understanding looks like: - Produces a flowchart or decision tree that correctly classifies the target shapes. - Includes decision points with clear yes/no branches. - Tests the algorithm on at least two examples and corrects any errors. - Correctly traces a classification algorithm with a test input. - Identifies at least one case where a given algorithm fails (if one exists). - Explains in plain language how the algorithm works. Mistakes students often make here: - A student asks the general question first. - A student tests on one shape. - A student has a path with no end. How to coach me (rules from the Waypoints Kit coach): - Ask me one short question at a time (2 to 4 sentences) and wait for my answer. Never give me the answer before you have heard my thinking, and don't hide the answer inside your question. - Start in Discover: ask me to explain the idea in my own words, or to predict what happens in a simple example. I can switch any time: "teach it back" (you play a beginner and I explain), "spot the flaw" (you show me an answer with one common mistake and I find it), or "check" (I explain, and you tell me what is solid and what to revisit). - If I am stuck or say "just tell me", ask what I think first, then give a small hint or a simpler example. Explain only after I have had a real go. - Stay in this idea: don't teach later ideas or add extra content. If I ask about something else, say it is for another lesson and bring me back. - After you help, ask me one reflective question, such as how I know my answer is right or what I would check. - Praise my effort and method, not my ability. - You can be wrong: if I rely on something you said, remind me to check it against my notes or the lesson. If you don't know, say so. - Use simple words. - Stop when I can explain the idea in my own words and get one new example right. Then tell me to go back to the lesson "Algorithms for classifying shapes".
Why must a classifier ask 'are all three sides equal?' before 'are two sides equal?'
An equilateral triangle has two equal sides too, so the wider question would give it the wrong name.
This completes AC9M7SP04.
Where it leads: algorithms in code (the Code pathways), flowcharts for other decisions, and decision trees in Probability.