levo

Algorithms

  • 5 subtopics
  • 15 things to know
  • Papers 1 and 2

Learn Algorithms in runs of four questions, then keep it with spaced repetition.

What Algorithms covers

Algorithms is examined in Paper 1, Principles of Computer Science, and Paper 2, Application of Computational Thinking. It covers what an algorithm is; constructing algorithms; understanding what an algorithm does; finding and correcting errors; and coding and choosing algorithms.

Where it is assessed

Papers 1 and 2

Computer Science 4CP0: this topic is examined on Paper 1, Principles of Computer Science (2 hours, 50%), and on Paper 2, Application of Computational Thinking (3 hours, on screen, 50%).

Check the Pearson Edexcel specification ↗

The 5 subtopics

Each one has its own page.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What does each flowchart symbol show?

Key term

An algorithm to average 10 numbers sets Total to 0 inside the loop. What is the error, and how is it corrected?

Key term

A loop is written SET Count TO 0, then WHILE Count < 5 DO SEND Count TO DISPLAY END WHILE. Why does it never stop?

Key term

Why might an algorithm that finds the largest number fail if Max is first set to 0?

Key term

Name the three programming constructs used to build algorithms

Key term

How should the purpose of an algorithm be explained?

Key term

What does coding an algorithm in a high-level language involve?

Key term

What is an algorithm?

Process

What is sequence?

Key term

What is the purpose of this algorithm: SET Max TO Scores[0], then for each other score, IF Score > Max THEN SET Max TO Score?

Key term

How is the pseudocode SET Total TO Total + Mark written in Python?

Key term

What are algorithms used for?

Key term

What is selection?

Key term

What is the purpose of a variable used as a running total?

Key term

How is the pseudocode FOR Count FROM 1 TO 10 DO written in Python?

Take Algorithms further

The same content, four other ways.

Commonly confused

Pairs that lose marks when they are blurred together.

  • Selection vs Iteration

    Selection: choosing which instructions to run depending on a condition. Iteration: repeating a set of instructions.

  • Pseudocode vs Flowchart

    Pseudocode: an algorithm written in structured English-like statements. Flowchart: a diagram showing the steps of an algorithm with standard symbols.

  • Trace table vs Flag

    Trace table: a record of each variable's value at each step of an algorithm. Flag: a Boolean variable that records whether something has happened.

Questions from this topic

Each one with the model answer underneath.

  1. 1

    What is an algorithm?

    Model answer

    An algorithm is a precise sequence of steps that solves a problem or completes a task.

  2. 2

    What are algorithms used for?

    Model answer

    Algorithms describe how to solve a problem before any code is written. A programmer then turns the algorithm into a program.

  3. 3

    Name four ways an algorithm can be expressed.

    Model answer

    An algorithm can be expressed as a flowchart or in pseudocode. An algorithm can also be a written description or program code.

  4. 4

    What is pseudocode?

    Model answer

    Pseudocode is a structured way of writing an algorithm using keywords and English-like statements, without following the strict syntax of a programming language.

  5. 5

    Why is pseudocode used to plan programs?

    Model answer

    Pseudocode lets a programmer focus on the logic without worrying about syntax. Any programmer can read pseudocode and code it in their own language.

  6. 6

    What is a flowchart?

    Model answer

    A flowchart is a diagram that shows the steps of an algorithm using standard symbols joined by arrows.

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
Searching and Sorting Algorithms
Decomposition and Abstraction
Developing and Testing Code

Cram the night before, weakest topic first

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

Denary is a base system.
1028

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.

Nibble means a group of four bits.
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.

Algorithms revision questions

What does Algorithms cover in Edexcel IGCSE Computer Science?
5 subtopics: what an algorithm is, constructing algorithms, understanding what an algorithm does, finding and correcting errors and coding and choosing algorithms. Each one has its own page with questions and model answers.
How is Algorithms organised?
By the Edexcel 4CP0 specification, subtopic by subtopic, so it matches the order you are taught it in.

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.