PseudoStudio
← Back to IDE
Algorithm Trace
📊 Interactive Trace Table Workspace
Algorithm Code
CODE REFERENCE
Trace Table Grid
Fill step values below and click ✔ Validate Table
Correct
Unchanged Column (Same as row above)
Incorrect (Expected value shown)

Trace Table Generator for IGCSE & A-Level Computer Science

A trace table is an essential technique for dry running pseudocode algorithms in Cambridge IGCSE (0478/0984) and A-Level (9618) Computer Science exams. It lets you execute code line-by-line on paper, tracking how each variable changes at every step. Trace tables are commonly used in Paper 2 to test whether an algorithm produces the correct output for given input data.

PseudoStudio's interactive trace table generator lets you paste any pseudocode algorithm and instantly creates a grid with columns for every variable, condition, and output. Fill in each cell as you trace through the code, then click Validate Table to check your answers against the ground truth generated by our pseudocode interpreter. Correct values are highlighted in green, incorrect values in red with the expected answer shown.

Whether you are practising FOR loops, WHILE loops, IF/ELSE conditionals, array searches, or sorting algorithms like Bubble Sort, this tool gives you instant automated feedback — something no paper worksheet can do. You can also print blank worksheets for offline revision.

📝 Trace Table Practice Questions 📖 Trace Table Guide 📚 How to Complete a Trace Table

Trace Table FAQs

What is a trace table in IGCSE Computer Science?
How do I use this trace table generator?
Can I print trace table worksheets for exam practice?