levo

Algorithms

Algorithms, decomposition and abstraction

  • 3 things to know
  • Paper 1
Start revising · £5/month

Overview

What an algorithm is and how it differs from a program, why each step must be unambiguous, decomposition and abstraction with worked examples, and the systematic approach to solving a problem.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What does a systematic approach to problem solving involve?

Key term

What is an algorithm?

Key term

How is an algorithm different from a computer program?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is an algorithm?

    Model answer

    An algorithm is a precise sequence of instructions for carrying out a task. Each step is clear and the steps run in a fixed order.

  2. 2

    How is an algorithm different from a computer program?

    Model answer

    A program is an algorithm turned into code in one particular language. The algorithm is the underlying method and exists independently of any language.

  3. 3

    Why can the same algorithm be coded in Python, C# or VB.NET?

    Model answer

    An algorithm describes the logic of a solution rather than the syntax of a language. Any language able to carry out the steps can implement it.

  4. 4

    Is a cooking recipe an algorithm?

    Model answer

    A recipe is an algorithm because it is a sequence of steps that completes a task. A recipe is not a program, because a person carries it out rather than a computer.

  5. 5

    Why must each step of an algorithm be unambiguous?

    Model answer

    A step with only one meaning gives the same result whoever follows it. A computer cannot guess what a vague instruction was meant to say.

  6. 6

    What is decomposition?

    Model answer

    Decomposition is breaking a problem down into smaller sub-problems. Each sub-problem performs one identifiable task and may be broken down further.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Algorithms
Programming
Data Representation
Computer Systems

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

The table one extra row.
gainslosescopies

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

ASC means sorting from smallest to largest, or A to Z.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Algorithms, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.