← Back to the unitTip: in the print dialog choose “Save as PDF”.
Teaching pack · Year 7 Spaceseegongsik /au

Algorithms for shapes: a week of ready-to-teach maths

Five lessons for Year 7 Space. Print this pack and the week is prepared: each day has a one-page plan and a student worksheet with practice and a stretch section, plus sixteen shape cards, yes-or-no question cards, a mini-check and every answer with its working.

AC9M7SP04
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

Start here: five minutes to Monday

  1. Skim the week at a glance on the next page.
  2. Print the five days. Each day is two A4 sheets: a plan and a worksheet.
  3. Print the two cut-out sheets at 100%, one set per pair: the shape cards (every day) and the question cards (Days 1, 3 and 4).
  4. Open the free interactive unit on the board. Every plan says which picture to show and which buttons to press.
  5. Teach straight from the plan. Timings, talk prompts, misconceptions and worked answers are all on the one page.

The idea in plain words

An algorithm is a list of steps and decisions that anyone can follow and always get the same result. To sort shapes, each decision is a yes-or-no question about an attribute: does it have 4 sides, are all its sides equal, is there a right angle. Drawn as a decision tree, every shape follows one path to one name. The same algorithm can be written as numbered steps, run on a whole set of shapes at once, and improved: a better order of questions can do the same job with fewer questions.

One day, one lesson

The five lessons fill a week of maths, one lesson of about 60 minutes a day. Run them in order: each day stands on the one before. Every plan marks a split point for two shorter sessions, and every worksheet ends with a stretch section for students who finish early.

How we name shapes

An algorithm should give each shape its most exact name, so a square comes out as a square even though it is also a rectangle and a rhombus. In this pack a trapezium has exactly one pair of parallel sides and a kite has no parallel sides, and isosceles means exactly two equal sides. On the cards, ticks mark equal sides and a small square marks a right angle.

On the board
This pack is the printable half of a free interactive unit. The on-screen half has five interactive pictures (a decision tree, the algorithm as steps, a step-by-step trace, sorting a batch into bins, and the order of questions) plus a self-check quiz you can run as a class game on Day 5.
seegongsik.com/au/y7/space/AC9M7SP04
Aligned to the Australian Curriculum V9 (AC9M7SP04). This pack is original material from seegongsik, independently produced and not endorsed by ACARA. Curriculum content descriptors are (c) ACARA, licensed under CC BY 4.0. Free to print and use in class.
The week at a glance5 lessons

The week at a glance

One lesson a day for a week. Each day stands on the day before, so run them in order.

DayLessonStudents learn and doOn screen and on the desk
1Decision treesRun shape cards through a decision tree, build a tree that tells seven quadrilaterals apart, and find the cards a faulty tree names wronglyA classification decision tree; shape and question cards
2Algorithms as stepsTrace numbered steps and decisions on shape cards, find why one order of steps gives wrong names, and write a tree as stepsThe algorithm as steps; shape cards
3Designing an algorithmDesign and test an algorithm that names any triangle by its sides and by its angles, and draw it as a flowchartTrace the algorithm step by step; triangle cards
4Sorting a setSort all sixteen cards with a two-question algorithm into a Carroll diagram and a Venn diagram, and write the algorithmSorting a batch into bins; shape and question cards
5Improving and describingCount the questions two trees need, fix and test algorithms, and describe one clearly enough for someone else to followThe order of questions matters; self-check quiz as a class game

How the week builds

Day 1 runs and builds decision trees; Day 2 writes the same logic as numbered steps; Day 3 designs and tests a new algorithm from scratch; Day 4 runs an algorithm on a whole set; and Day 5 improves algorithms and describes them for others. It builds on classifying shapes by their properties (AC9M7SP02), and it leads into algorithms that test for congruence and similarity in Year 8 (AC9M8SP04).

Materials for the week (one trip)

Words for the word wall

algorithm, step, decision, input, output, decision tree, branch, flowchart, trace, sort, classify, attribute, Carroll diagram, Venn diagram, efficient, test case, parallel, right angle, regular, concave

A note homeHome practice

Dear families

This week in maths, Year 7 is designing algorithms: step-by-step instructions, made of yes-or-no questions, that sort and name shapes so that anyone who follows them gets the same answer.

Try this at home

Questions this week

Fill one row a day with something you sorted and the yes-or-no questions you used.

DayWhat we sortedThe questions
Monday
Tuesday
Wednesday
Thursday
Friday

Printed from the free seegongsik Algorithms for shapes teaching pack · seegongsik.com/au/y7/space/AC9M7SP04/pack

Day 1 · Teacher planDay 1 of 5

Decision trees

A decision tree sorts shapes with yes-or-no questions until each reaches a name. Students run cards through a tree, build one for seven quadrilaterals, and find where a faulty tree goes wrong.

We are learning to

Success criteria

You need

The worksheet, the shape cards and question cards (one set per pair), and large paper.

Lesson flow (about 60 minutes)

10 minFollow the branches
Show the board (see the box).

Ask: “The rectangle answered yes, no, yes. Which answer made it a rectangle and not a square?”

30 minRun and build
Part A alone; then pairs split the seven quadrilaterals with the question cards and draw the tree (Part B).
20 minTest the tree
Part C as a class, then pairs; early finishers do Part D.

Ask: “How do you know a tree works for every card, not just the ones you tried first?”

Two shorter sessions instead? Split after Part A; start the second with Part B.

On the board
Show “A classification decision tree”, which opens on the triangle. Press “pentagon”, then “rectangle”, then “square”; before each press, ask which way the shape will go at each question.
seegongsik.com/au/y7/space/AC9M7SP04

Watch for these ideas

Answers

Day 1 · Worksheet

Decision trees

NameClassDate

A. Run the cards

Send each card through the tree, answering each question from the card’s marks. Write the leaf it reaches.

yesnoyesnoyesnoyesno4 sides?all sides equal?all angles 90°?squarerhombusall angles 90°?rectangleother quadrilateralcount the sides
CardABDFHKCM
Leaf

B. Build a tree

Use the question cards to build a tree that gives each quadrilateral card (A, D, F, H, K, M, O) a leaf of its own. Draw your tree here.

C. Check a tree

yesnoyesno4 sides?all sides equal?squarerectanglecount the sides
Which quadrilateral cards does this tree name wrongly? What question would fix it?

D. Stretch

  1. What is the fewest questions a tree must ask, for its worst card, to give all seven quadrilaterals a leaf each? Explain.
Day 2 · Teacher planDay 2 of 5

Algorithms as steps

The logic of a tree can be written as numbered steps, some of them decisions that stop with an answer. Students trace steps on cards, see that steps in the wrong order give wrong names, and turn a tree into steps.

We are learning to

Success criteria

You need

The worksheet and the shape cards.

Lesson flow (about 60 minutes)

10 minSteps on the board
Show the board (see the box).

Ask: “Why does the triangle never reach step 3?”

25 minTrace
Part A in pairs, one reading the steps aloud and one answering from the card; swap after each card.
25 minOrder matters
Part B as a class, then Part C on their own; early finishers do Part D.

Ask: “The square stopped at step 1. Was its answer wrong, or just not exact enough?”

Two shorter sessions instead? Split after Part A; start the second with Part B.

On the board
Show “The algorithm as steps”, which opens on the triangle. Press “rectangle”, then “square”; before each press, ask which steps will run and which will be skipped.
seegongsik.com/au/y7/space/AC9M7SP04

Watch for these ideas

Answers

Day 2 · Worksheet

Algorithms as steps

NameClassDate

A. Trace the steps

  1. Find the largest angle of the triangle.
  2. If the largest angle is a right angle, write “right-angled” and stop.
  3. If the largest angle is more than a right angle, write “obtuse-angled” and stop.
  4. Write “acute-angled” and stop.
CardSteps it runsName it comes out with
L
E
I
B
P

B. Does the order matter?

This algorithm is meant to name squares, rectangles and rhombuses, and call anything else “another quadrilateral”.

  1. If all its sides are equal, write “rhombus” and stop.
  2. If all its angles are right angles, write “square” and stop.
  3. Write “another quadrilateral” and stop.
(a) Run cards K, F, D, A through it. What does each come out as?   ______________________________
(b) Which cards get the wrong name, and why? Rewrite the steps so every card is named correctly.

C. A tree as steps

Write the tree from yesterday’s Part A as numbered steps. Use “go to step …” where the path splits.

D. Stretch

Write an algorithm that counts the right angles of any shape, one corner at a time. Trace it on cards J and C.

Day 3 · Teacher planDay 3 of 5

Designing an algorithm

Students design an algorithm from scratch: one that gives any triangle a name by its sides and a name by its angles. They write it, test it on the five triangle cards, and draw it as a flowchart.

We are learning to

Success criteria

You need

The worksheet, the five triangle cards, rulers, protractors, and large paper for the flowchart.

Lesson flow (about 60 minutes)

10 minTrace on the board
Show the board (see the box).

Ask: “The trace named it a triangle. What question would you add to say what kind of triangle?”

30 minDesign and test
Pairs complete the steps in Part A, test them on the triangle cards, then try Part B.
20 minFlowchart
Part C on large paper; early finishers do Part D.

Ask: “Every diamond in a flowchart has two ways out. Where does each one go?”

Two shorter sessions instead? Split after Part B; start the second with Part C.

On the board
Show “Trace the algorithm step by step”, which opens on the triangle. Press “Next step” twice, then “square” and “Next step” three times; before each press, ask what the answer will be.
seegongsik.com/au/y7/space/AC9M7SP04

Watch for these ideas

Answers

Day 3 · Worksheet

Designing an algorithm

NameClassDate

A. Name a triangle by its sides

Complete the algorithm, then test it on the five triangle cards.

  1. Compare the lengths of the three sides.
  2. If ________________________________, write “equilateral” and stop.
  3. If ________________________________, write “isosceles” and stop.
  4. Write “scalene” and stop.
CardEBIPL
By its sides

B. Swap two steps

Swap steps 2 and 3. Which card now gets a less exact name? Why does the order matter here?

C. Both names in one flowchart

Draw one flowchart that names a triangle by its sides and then by its largest angle (yesterday’s Part A). Use a diamond for each decision and a box for each answer. Test it on every triangle card.

CardSidesAngles
E
B
I
P
L

D. Stretch

  1. Could your flowchart ever give “equilateral” and “right-angled” together? Explain, then draw an isosceles triangle that is obtuse-angled on dot paper.
Day 4 · Teacher planDay 4 of 5

Sorting a set

An algorithm can sort a whole set, one card at a time. Two yes-or-no questions split the sixteen cards into four groups in a Carroll diagram, and a Venn diagram shows two attributes that some cards share.

We are learning to

Success criteria

You need

The worksheet, the shape cards and question cards.

Lesson flow (about 60 minutes)

10 minBins on the board
Show the board (see the box).

Ask: “The square went into the squares bin. Could it have gone into the rectangles bin too?”

30 minSort the set
Pairs lay the two question cards out as a grid and sort all sixteen cards for Part A, then Part B.
20 minWrite the sorter
Part C on their own; early finishers do Part D.

Ask: “Your steps put every card in exactly one box. How do you know?”

Two shorter sessions instead? Split after Part A; start the second with Part B.

On the board
Show “Sorting a batch into bins”, which opens with six shapes waiting. Press “Sort next” twice, then “Sort all”; before each press, ask which bin the next shape will land in.
seegongsik.com/au/y7/space/AC9M7SP04

Watch for these ideas

Answers

Day 4 · Worksheet

Sorting a set

NameClassDate

A. A Carroll diagram

Sort all sixteen cards. Write each card’s letter in the one box that fits both answers.

Has a right angleHas no right angle
Has 4 sidesbox 1box 2
Does not have 4 sidesbox 3box 4

B. A Venn diagram

Write each card’s letter in the right region. A card with both attributes goes where the circles overlap.

C. Write the sorter

Write numbered steps that send any card to the right box of the Carroll diagram in Part A.

D. Stretch

  1. Add a third question: “Is it concave, with a corner that points in?” How many boxes does a sort with three questions need? Which of them stay empty for these sixteen cards?
Day 5 · Teacher planDay 5 of 5

Improving and describing

Two algorithms can give the same names yet ask different numbers of questions. Students count questions, test and fix algorithms, and describe one clearly enough for someone else. Then the quiz.

We are learning to

Success criteria

You need

The worksheet, the shape cards, and the unit’s self-check quiz on the board.

Lesson flow (about 60 minutes)

10 minFewer questions
Show “The order of questions matters” (it opens on Order A); press “Order B: angles first”.

Ask: “Both orders give the same names. Why does Order B ask more questions?”

30 minProblems
Students work through problems 1 to 6; 7 and 8 are the stretch.
20 minClass quiz game
Run the self-check quiz as a class game (see the box), then wrap up.

Two shorter sessions instead? Split after problem 3; start the second with problem 4.

On the board
Scroll to “Quick self-check” at the foot of the unit. Read each question aloud, give pairs half a minute to agree, then press the class’s choice; the box shows at once whether it is right, and a choice cannot be changed once pressed.
seegongsik.com/au/y7/space/AC9M7SP04

Watch for these ideas

Answers with working

  1. Tree X D 3, K 3, A 2, F 1: 9; tree Y D 2, K 2, A 2, F 2: 8. Tree Y is better.
  2. An even split shrinks both piles: after tree Y’s first question each pile holds 2 cards and needs one more question; after tree X’s, three cards share a pile and two of them need two more.
  3. Card A, the rhombus: all its sides are equal but its angles are not. Add “and all its angles are equal”.
  4. For example: 1 not 4 sides: no, stop; 2 both pairs of opposite sides parallel: yes, otherwise no. D yes, M no, O no.
  5. Choices vary: a right-angled card, one with no right angle, and a tricky one such as J.
  6. No: test cards with no right angle too; an algorithm that always says yes would pass.
  7. No: naming every card after 2 questions makes 8; naming one after a single question leaves three in a pile, and two of them then need 3: 1 + 2 + 3 + 3 = 9.
  8. 4: each question can at most halve the cards left, 16, 8, 4, 2, 1.
Day 5 · Worksheet

Improving and describing

NameClassDate

Problems (7 and 8 are the stretch)

  1. Both trees name cards D, K, A, F. Count the questions each card needs in each tree, and the totals. Which tree is better?
    Tree X
    yesnoyesnoyesno2 pairs parallel?all angles 90°?all sides equal?squarerectanglerhombuskite
    Tree Y
    yesnoyesnoyesnoall sides equal?all angles 90°?squarerhombusall angles 90°?rectanglekite
    CardDKAFTotal
    Tree X
    Tree Y
  2. Tree X’s first question sets aside only one card. Tree Y’s splits the cards 2 and 2. Why does that save questions?
  3. An algorithm says: “If all its sides are equal, write regular; otherwise write not regular.” Which card proves it wrong? How would you fix it?   ______________________
  4. Write steps a classmate could follow, without asking you anything, to decide whether a card is a parallelogram. Test them on cards D, M, O.
  5. An algorithm is meant to find every card with a right angle. Which three cards would you test it on, and why?
  6. The algorithm in problem 5 said yes to every card you tested with a right angle. Is that enough to trust it? Explain.
  7. Stretch. Could any tree for the four cards in problem 1 ask fewer than 8 questions in total? Explain.
  8. Stretch. What is the fewest yes-or-no questions that can always pick out one card from all sixteen? Explain.   ____________
Cut-out sheet 1 of 2Shape cards

Sixteen shape cards

Days 1 to 5, one set per pair. Cut out the 16 cards. Ticks show equal sides (sides with the same number of ticks are equal) and a small square shows a right angle; on the dot grids, count along the dots to check parallel sides.

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Cut-out sheet 2 of 2Question cards

Question cards

Days 1, 3 and 4, one set per pair. Cut out the cards. Lay a question card down, put the shape cards that answer yes on one side and no on the other, and keep going until every pile holds one kind of shape. The blank cards are for questions of your own.

Does it have 4 sides?
Are all its sides equal?
Are all its angles right angles?
Does it have 3 sides?
Does it have two pairs of parallel sides?
Does it have a right angle?
Does it have at least one pair of parallel sides?
Is it concave, with a corner that points in?
Does it have more than 4 sides?
yes
no
yes
no
yes
no
Mini-check · End of the weekSpace

What we know: Algorithms for shapes

NameClassDate

Work on your own. Algorithm W:

  1. If it has 3 sides, write “triangle” and stop.
  2. If all its angles are right angles, write “rectangle” and stop.
  3. Write “other” and stop.
  1. Run W on a square. Which steps run, and what does it write?   ______________________
  2. Run W on a regular hexagon. Which steps run, and what does it write?   ______________________
  3. W calls a square a rectangle. Is that wrong? What step would you add so that W names squares?
  4. Write one yes-or-no question that tells a rhombus from a kite.   ______________________________
  1. In a Carroll diagram with “has 4 sides” and “has a right angle”, where does a regular octagon go?   ____________
  2. A tree asks exactly 3 questions of every shape. What is the most kinds of shape it can tell apart?   ________
  3. These steps are jumbled: (a) If it has 4 sides, write “quadrilateral” and stop. (b) Count the sides. (c) Write “more than 4 sides” and stop. (d) If it has 3 sides, write “triangle” and stop. Which step must come first, and which must come last?   ____________
  4. Draw this as a decision tree: 1. If it is concave, write “concave” and stop. 2. If it has a right angle, write “right angle” and stop. 3. Write “other” and stop.

How did this week feel? Circle one:   I can teach it  ·  I am getting there  ·  I need more help

Mini-check · Answers and markingFor the teacher

Answers and marking guide

Answers with working

  1. Steps 1 and 2: it does not have 3 sides, and all its angles are right angles, so W writes “rectangle”.
  2. Steps 1, 2, 3: 6 sides, and its angles are 120°, so W writes “other”.
  3. Not wrong, as a square is a rectangle, but not its most exact name. Before step 2, add: if all its angles are right angles and all its sides are equal, write “square” and stop.
  4. “Are all its sides equal?” (or “Does it have two pairs of parallel sides?”): yes for the rhombus, no for the kite.
  5. In “does not have 4 sides” and “has no right angle”: its angles are all 135°.
  6. 8: each question splits every pile in two, 2, 4, 8.
  7. First (b), as the others need the count; last (c), the catch-all. Steps (a) and (d) may come in either order.
  8. yesnoyesnoconcave?concavea right angle?right angleother

A quick three-level guide

IdeaWorking towardsAt standardBeyond
Tracing (Q1, Q2)runs every step, even after a stoprecords the steps run and the outputspots a step that can never be reached
Exact names (Q3, Q4)treats a true but less exact name as wrong, or the reverseexplains the most exact name, and finds a question that splits two shapesgives two questions that work and says which is better
Sorting and size (Q5, Q6)places a shape by how it looksplaces a shape by its answers, and counts the leavesexplains why each extra question can double the leaves
Order and describing (Q7, Q8)orders steps at randomputs the action first and the catch-all last, and draws steps as a treeexplains which steps may swap, and why

Eight questions, four ideas. A student at standard traces an algorithm exactly, gives shapes their most exact names, sorts by the answers, and orders and describes steps so others can follow them.

Weekly recordClass checklist

Weekly class record

Jot a tick as you move around the room; the mini-check fills any gaps. A tick a day is plenty.

NameTreesStepsDesignSortingImproving

The five columns are the five days: decision trees, steps, designing, sorting a set, and improving and describing.