Skip to content
IGCSE·Tuition

Computer Science · Topics

Pseudocode for the applicable syllabus

Pseudocode looks like plain English until a trace table shows that your answer does something different from what you meant.

On this page
  1. What should I know before starting?
  2. An orienting example
  3. In what order should I study the lessons?
  4. What are the common traps?
  5. How should I use the practice set and tools?

This module is about writing and reading algorithms in the notation Cambridge uses for IGCSE Computer Science. You will learn the conventions, trace assignment and comparison without mixing them up, describe input validation, repair a loop that never ends, and check which notation your exam year expects.

Pseudocode is not a programming language. It is a shared way of writing a method so that a person can follow it, trace it and find errors. Examiners read it as an algorithm, so the logic matters more than any exact spelling of a keyword.

What should I know before starting?

You should already be comfortable with variables, the idea of input and output, and the three building blocks: sequence, selection and iteration. If those feel shaky, work through algorithm design and repetition and arrays first.

An orienting example

Here is a short algorithm. Read it, then trace it.

Total ← 0
FOR Count ← 1 TO 4
   Total ← Total + Count
NEXT Count
OUTPUT Total
CountTotal after the line runs
(start)0
11
23
36
410

The output is 10. Notice three conventions at once: ← means “store the value on the right in the variable on the left”, keywords are in capitals, and the loop body is indented. A trace table makes each step visible, so you do not rely on a guess.

In what order should I study the lessons?

  1. Use the verified 2026-2028 convention: the notation itself, so every later lesson reads clearly.
  2. Trace assignment and comparison distinctly: the single most common source of wrong trace answers.
  3. Describe input validation without language-specific shortcuts: a favourite exam context for loops and conditions.
  4. Repair a pseudocode loop termination condition: find and fix loops that never stop or stop too early.
  5. Check the exam year before choosing notation: confirm what your own paper expects.

After the lessons, the mixed practice set pulls everything together with fully worked answers.

What are the common traps?

  • Reading Total ← Total + 1 as a false equation instead of an update.
  • Using = for assignment, or ← for a test.
  • Writing validation with AND where OR is needed.
  • A loop condition that can never become false.
  • Using Python or another language’s shortcuts when the question asks for pseudocode.

How should I use the practice set and tools?

Trace first, with a pencil, and only then check. The restricted pseudocode trace trainer lets you step a short algorithm and see each variable change, and the Python reasoning sandbox shows what the same idea does in a real language. Treat both as checks on your own trace, never as a replacement for it.

If you want someone to watch your working and correct it as you go, see our online one-to-one Computer Science tuition. For the current notation rules and exam-year details, always confirm on the Cambridge syllabus page linked below.

Sources

  1. Cambridge IGCSE Computer Science 0478 syllabus page

Updated:

Your next step

If your pseudocode makes sense to you but the trace disagrees, a one-to-one teacher can sit through your traces line by line and find the exact step where your reading drifts.

Paid one-hour trial at your assigned teacher’s confirmed rate, starting from RM80. Other fees, schedules and ongoing arrangements are confirmed directly with your teacher after the trial class.

9,000+ students helped through our service