Supply teacher deck · Design Technology · Year 8

Algorithm for a Recipe

Slide 1 of 7
05:00

Slide 1 of 7 · Settling starter · Design Technology · Year 8

5 minutes

Algorithm for a recipe: Welsh cakes, picau ar y maen

A recipe written in sentences is not an algorithm. An algorithm is a set of steps so clear that somebody who has never made the thing can follow them without guessing. Nothing is heated and nothing is eaten today: the recipe is only the raw material.

While the register is called: write your name, class and date on your worksheet, then read the whole recipe sheet before writing anything. Underline every instruction verb (weigh, rub, stir, roll, cut, cook).

Starter question: How many rounds should the recipe make, and what size cutter does it use?

DCF: Data and computational thinking → Problem-solving and modelling No computers and no cooking

Slide 2 of 7 · Today’s brief and key words · Design Technology · Year 8

3 minutes

Your brief: turn the recipe into an algorithm and a flowchart

You will sort the recipe into inputs, processes and outputs (Part A), write a numbered algorithm with one instruction per line (Part B), draw a flowchart with at least 2 decisions and 1 loop (Part C), and answer 2 trick questions (Part D).

Terminator

A rectangle with rounded ends. Says Start or Stop. Every flowchart has exactly 1 start.

Input / output

A parallelogram. Something going in, like ingredients, or coming out, like the finished cakes.

Process

A plain rectangle. Something being done: rub, stir, roll, cut, cook.

Decision and loop

A diamond with a Yes or No question. An arrow back up to an earlier step is a loop: it repeats work until a condition is met.

DCF: Data and computational thinking → Problem-solving and modelling Both arrows out of a diamond must say Yes and No

Slide 3 of 7 · Part A: inputs, processes, outputs · Design Technology · Year 8

7 minutes

Part A: sort the recipe into inputs, processes and outputs

Fill the 3 columns from the recipe. Then answer the question underneath: the equipment is neither an input nor a process, so what would you call it, and why does an algorithm still have to mention it?

Inputs (what goes in) Processes (what is done) Outputs (what comes out)
225 g self-raising flour Rub butter into flour 12 to 14 cooked Welsh cakes, dusted with caster sugar, on a cooling rack
110 g cubed cold butter Stir in sugar, currants and spice  
Part A on your worksheet · 7 minutes Use the amounts from the recipe, not “some flour”

Slide 4 of 7 · Part B: the numbered algorithm · Design Technology · Year 8

11 minutes

Part B: write the numbered algorithm, one instruction per line

Use the amounts and times from the recipe: “a bit of flour” is not an instruction. No sentences with “and then” in them. Mark any step that repeats with REPEAT and any question with IF.

Model opening:

1. Wash hands.
2. Collect equipment: bowl, wooden spoon, rolling pin, 6 cm cutter, bakestone, fish slice, cooling rack, scales, timer.
3. Weigh 225 g self-raising flour into the bowl.
4. Add 110 g cold cubed butter.
5. Rub the butter into the flour with fingertips until the mixture looks like fine breadcrumbs with no lumps of butter left.

A repeat looks like this: 9. IF the dough is crumbly and will not hold together: REPEAT add 1 tablespoon of milk and mix again UNTIL the dough holds together OR 2 tablespoons have been used.

Part B on your worksheet · 11 minutes Every REPEAT needs an UNTIL that ends it

Slide 5 of 7 · Part C: the flowchart · Design Technology · Year 8

16 minutes

Part C: draw the flowchart in the frame

Start at the top with a terminator. Parallelogram for the ingredients going in and the cakes coming out, rectangles for the things you do, diamonds for the questions. Label every arrow out of a diamond Yes or No. You need at least 2 decisions and at least 1 arrow that loops back to an earlier step.

Top of the chart: START → INPUT: 225 g flour, 110 g butter, 85 g sugar, 50 g currants, ½ tsp mixed spice, 1 beaten egg → Rub the butter into the flour with fingertips until like breadcrumbs → Stir in the sugar, the currants and the mixed spice → Add the beaten egg and mix to a firm dough.

Then a diamond: Has the dough come together? No → Add 1 tbsp milk, mix (2 tbsp maximum), arrow back up to the diamond. Yes → carry on to rolling and cutting.

Part C on your worksheet · 16 minutes Use a pencil and a ruler; this is the part that gets marked

Slide 6 of 7 · Part D and self check · Design Technology · Year 8

5 minutes

Part D: the 2 trick questions, then check your own work

Answer both trick questions in the table. Then tick each success criterion you have met and correct 1 thing, for example a diamond with an unlabelled arrow.

  • I can sort a real process into inputs, processes and outputs, and say why equipment belongs in none of them.
  • My algorithm has one instruction per line, with real amounts and real times taken from the recipe.
  • My flowchart uses the right shape for each kind of step, and both arrows out of every decision are labelled Yes and No.
  • My flowchart contains at least one loop that repeats work until a condition is met.
  • I can explain why a step that must be repeated until something is true cannot be written as a single process box.
Part D on your worksheet · 5 minutes Finished early? Try the allergen check or the 24-cake version

Slide 7 of 7 · Plenary review · Design Technology · Year 8

3 minutes

Swap, test, and check before handing in

Swap with a partner. Follow their algorithm word for word and tell them the first place you had to guess. Then check the 3 answers below.

Question Correct answer
Which shape holds a question, and how must its arrows be labelled? A diamond (decision), with both arrows labelled Yes and No.
What stops the milk loop from running forever? The limit of 2 tablespoons, or the dough coming together.
Is the mixing bowl an input, a process or an output? None of them. It is a resource: needed but not used up or produced.
Check your name and class are on your worksheet Leave recipe sheets neat on the desk