TheLucidSTEM‹ Computer Science simulationsComputer Science · IGCSE 0478 · 7 and 8 Algorithms and programming

Pseudocode and trace tables

IGCSE Computer Science 0478, topics 7 and 8, and A-Level 9618, topics 9 to 11. Step through Cambridge pseudocode one line at a time while the trace table fills in: loops, standard methods, validation and test data, finding errors, procedures and functions, arrays and files, then BYREF, CASE ranges and recursion for A-Level.

About this lab: Pseudocode and trace tables

Interactive simulation for Cambridge IGCSE Computer Science 0478 topics 7 and 8 and AS & A Level 9618 topics 9 to 11 and 19.2: run Cambridge pseudocode line by line and watch the trace table fill in, with totalling, counting, linear search and bubble sort, validation with normal, abnormal, extreme and boundary test data, find-the-error programs, procedures, functions, strings, 2D arrays, text files, BYREF parameters and recursion. Edit the code and run your own.

IGCSE Computer Science 0478, topics 7 and 8, and A-Level 9618, topics 9 to 11. Step through Cambridge pseudocode one line at a time while the trace table fills in: loops, standard methods, validation and test data, finding errors, procedures and functions, arrays and files, then BYREF, CASE ranges and recursion for A-Level.

Pseudocode and trace tables is a free, browser-based simulation for Cambridge IGCSE Computer Science 0478 (topic 7 Algorithm design and problem-solving; topic 8 Programming). The same lab serves both Cambridge IGCSE Computer Science 0478 and AS & A Level Computer Science 9618; tabs marked A-Level go beyond the IGCSE syllabus. The course is assessed in Paper 1 (Computer Systems), Paper 2 (Algorithms, Programming and Logic). Syllabus for examination in 2026-2028. There are 7 tabs, each a self-contained experiment with its own controls and live readings, and nothing to install: it runs on a laptop, tablet or classroom projector.

Syllabus coverage

Full syllabus map: IGCSE Computer Science 0478 topic 7, IGCSE Computer Science 0478 topic 8, IGCSE Computer Science 0478 topic 8, A Level Computer Science 9618 topic 9 and A Level Computer Science 9618 topic 11.

How to use this simulation

  1. 1. Sequence, selection, iteration.
  2. 2. Standard methods.
  3. 3. Validation and test data.
  4. 4. Find the error.
  5. 5. Procedures, functions, strings.
  6. 6. Arrays and files.
  7. 7. 9618 pseudocode.
  8. The buttons at the end of the tab strip give the scene the whole window (Full screen, Hide controls) and, on a dark stage, a projector-friendly palette (Light scene). Many scenes also have drag handles: drag them to change the set-up directly.

All simulation labs · IGCSE Computer Science 0478 · TheLucidSTEM home