GCSE Computer Science
Free GCSE Computer Science resources
Everything here is free, no login required. Each resource explains a concept from the GCSE Computer Science specification, shows worked examples you can run in the browser, and links to the relevant Python Coach tool.
Python for loops โ GCSE Computer Science
How for loops work, how range() counts, and what examiners actually test. Includes a worked example you can run and modify.
See how range() actually counts →Python functions โ GCSE Computer Science
What functions are for, how parameters and return values work, and why the print vs return distinction costs students marks.
See why print isn't the same as return →Binary and hexadecimal โ GCSE Computer Science
How binary place values work, how hex maps to binary, and how to approach conversion questions on the mark scheme.
Convert binary and hex step by step →Python Turtle graphics โ GCSE Computer Science
How Turtle graphics makes loops and functions visible, with worked examples showing squares, hexagons, and parametrised shapes.
Draw shapes with loops and functions →Python trace tables โ GCSE Computer Science
How to complete a trace table line by line, with worked examples covering variable swapping and loop accumulation.
Learn to trace code line by line →Python while loops โ GCSE Computer Science
How while loops differ from for loops, the input validation pattern, and what examiners test.
See when to use while instead of for →Python lists โ GCSE Computer Science
How to create, index, and iterate through lists โ and why zero-indexing catches students out.
See why indexing starts at zero →Python variables and data types โ GCSE Computer Science
What variables store, the four main data types, and why type casting matters in exam answers.
See why type casting trips students up →Python strings โ GCSE Computer Science
Length, indexing, substrings, and concatenation โ the string operations tested on every exam board.
See how slicing and indexing work →Python selection โ if statements โ GCSE Computer Science
How if, elif, and else work, why the order of conditions matters, and how logical operators combine them.
See how elif order changes the output →Python bubble sort โ GCSE Computer Science
The pass-by-pass comparison mechanism, a worked Python implementation, and how many passes a sort actually needs.
See how the passes work →Linear and binary search โ GCSE Computer Science
How linear search and binary search work, when to use which, and why binary search needs sorted data.
Compare linear and binary search →Python file handling โ GCSE Computer Science
Opening, reading, and writing files with open(), the with open() pattern, and why 'w' mode isn't the same as 'a'.
See the open/read/write pattern →Python subroutines โ procedures and functions โ GCSE Computer Science
The procedure vs function distinction, parameters and arguments, and local vs global scope.
Understand procedures vs functions →Python 2D lists โ GCSE Computer Science
How 2D lists represent a grid, indexing with two indices, and iterating with nested loops.
See how indexing works →Pseudocode in GCSE Computer Science exams
The pseudocode constructs used across AQA, OCR, and Edexcel, and how to write answers that actually get marks.
Read exam pseudocode with confidence →Python error types โ GCSE Computer Science
Syntax, runtime, and logic errors โ what each one looks like, and how to tell them apart under exam conditions.
Tell the three error types apart →Python string methods โ GCSE Computer Science
split(), find(), count(), ord() and chr() โ the string methods that appear as their own mark-scheme questions.
See what each method returns →Python type casting โ GCSE Computer Science
int(), float(), str(), bool(), and why int(3.9) truncates to 3 instead of rounding to 4.
See why casting isn't rounding →Python random numbers โ GCSE Computer Science
random.randint() and random.random(), with a dice simulator and a random-choice worked example.
Build a dice simulator →Python operators โ GCSE Computer Science
Arithmetic, comparison, logical and assignment operators โ including how // and % map to DIV and MOD.
See how DIV and MOD map to Python →Python arrays and lists โ GCSE Computer Science
Why the spec says "array" but Python uses lists, and how to bridge the terminology in exam answers.
Bridge the array/list terminology gap →Want structured Python lessons as well? Python Coach includes 27 lessons and 195 challenges โ free 60 teaching day trial, no payment details required.
Start your school's free trial →