Pearson Edexcel · A-Level · Mathematics

    Course version: 603/1499/0 · Version from Sept 2017

    Decision Mathematics 1

    Full specification wording

    Algorithms and graph theory - Paper 3D: Decision Mathematics 1: 1.1 The general ideas of algorithms and the implementation of an algorithm given by a flow chart or text.

    An algorithm is a finite sequence of unambiguous instructions that, when followed from a defined starting point, produces a result and then stops.

    • Point 1 of 4

    Study notes

    From the teaching notes for this specification point.

    The idea

    An algorithm is a finite sequence of unambiguous instructions that, when followed from a defined starting point, produces a result and then stops. In Paper 3D you meet algorithms in two forms. A flow chart shows steps as boxes joined by arrows, with a decision box offering two labelled exits (for example yes and no), so the route taken depends on a comparison such as whether a value is greater than another. A text algorithm lists numbered steps, often with an instruction to return to an earlier step a set number of times. To implement one, you trace it: write down the current values of every variable, apply each instruction in order, record the value after each pass, and stop exactly where the algorithm says to stop. A useful check is that the number of passes or the final output matches what the stopping rule predicts.

    What earns the marks

    • Traces the algorithm step by step, recording the value of each variable after every instruction.
    • Follows the labelled exit from a decision box that matches the comparison actually tested.
    • Applies the stopping rule exactly as written rather than halting early or continuing past it.
    • Distinguishes an algorithm from a mere list of steps by confirming it is finite, unambiguous and terminates.

    Common mistakes and how to put them right

    • Skips the intermediate values and jumps to an answer.

      Put it right: Write down every variable after each pass so the trace can be checked.

    • Takes the wrong exit from a decision box by ignoring the stated comparison.

      Put it right: Test the condition explicitly before choosing the branch.

    • Stops before the stated number of passes or runs one pass too many.

      Put it right: Re-read the stopping instruction before finishing.

    Exam tips

    • Lay out a trace as a small table with one column per variable and one row per pass.
    • Write the comparison from each decision box in symbols before choosing an exit.
    • Check the final answer against the stopping rule, not against a guess about the pattern.

    Try the lesson

    The start of the Algorithms and graph theory - Paper 3D: Decision Mathematics 1: 1.1 The general ideas of algorithms and the implementation of an algorithm given by a flow chart or text. lesson, made from teaching notes for this specification point.

    Have a go first

    An algorithm is given by: Step 1 set T = 10. Step 2 subtract 3 from T. Step 3 if T > 4 return to Step 2, otherwise output T. What value of T is output?

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    5 free practice questions every day · Free forever · No card required

    Test your understanding of Algorithms and graph theory - Paper 3D: Decision Mathematics 1: 1.1 The general ideas of algorithms and the implementation of an algorithm given by a flow chart or text.

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    5 free practice questions every day · Free forever · No card required