Pearson Edexcel GCSE Computer Science (1CP2)Specification point 1.2.2

Edexcel 1CP2 1.2.2: Algorithms with variables and data structures

The free BugBot lesson that teach this point, a robot to try it on, and the past-paper questions that test it.

What it covers

Pseudocode is a way of writing an algorithm that looks like code but is not tied to any one programming language. It is quicker to write than a flowchart and closer to a program, so it is how most algorithms are shared on paper. Exam boards each have their own style, and in written exams you read and write theirs. This lesson is about moving between pseudocode and Python.

  • The same algorithm, three ways
  • Translating line by line
  • Writing your own pseudocode
  • Python as pseudocode
Read the free lesson (15 min)

Or do it in the simulator, with tasks that mark themselves

Lessons that teach it

  1. F5.3 Pseudocode and the exam reference language Algorithms
    Reading and writing your board's pseudocode, and translating it into Python.

Try it on a robot

The task from F5.3 Pseudocode and the exam reference language, running here. Change the program and press Run.

The specification is Edexcel's own document; this page says which of our lessons teach point 1.2.2 and is not endorsed by the board.