Past paper questions, worked and runnable

GCSE Computer Science past paper questions worked through step by step: trace tables, programs to write, algorithms to fix. Every answer is a program you can run in your browser, with the lesson that teaches it.

141 worked answersfree, runs in your browser

The programming paper is where most marks are won and lost, and reading a mark scheme does not show you how to get there. So each page here takes one real question, works through it the way you would in the exam, shows where marks are usually lost, and gives you the answer as a program to run and change.

AQA GCSE Computer Science (8525)

AQA GCSE Computer Science (8525) Paper 1 past paper questions: trace tables, programs to write, algorithms to complete and fix. Each one is worked through step by step…

63 worked answers from 5 papers

OCR GCSE Computer Science (J277)

OCR GCSE Computer Science (J277) Paper 2 past paper questions: trace tables, algorithms to write and fix, SQL and file handling. Each one is worked through step by step…

47 worked answers from 5 papers

Pearson Edexcel GCSE Computer Science (1CP2)

Pearson Edexcel GCSE Computer Science (1CP2) past paper questions: the on-screen Python paper (Paper 2) and the computational thinking questions from the written paper…

31 worked answers from 9 papers

How to use these

  1. Open the paper on the exam board's site and try the question on paper first, against the clock.
  2. Check your answer against the worked one, step by step.
  3. Run the program. Change the numbers and predict what happens before you press Run.
  4. If a step made no sense, do the lesson linked at the bottom of the page.

These are our own explanations of published exam questions. They are not written or endorsed by any exam board. Question papers and mark schemes remain the copyright of the boards and are linked, not copied.