▶ TrainingGet Pro
All tools & lessonsAll toolsAllGet the appApp
Learning departments Music, Maths, Cookery, Programming and Art are open – explore →

GCSE computing practice tests: PHP programming (Years 10 to 11)

These are UK practice tests (year groups, national curriculum). In the US? Try the US version →

Free practice tests for older learners (Years 10 and 11, key stage 4): the programming skills of GCSE-style computing courses, practised in PHP – the language behind a huge share of the web. Every test writes, fixes and predicts real PHP code, run in your browser and marked instantly. For Years 10–11 (ages 14–16). In the US, that's Grades 9 to 12.

PHP tests (Years 10–11)

One test for each unit of the PHP course, plus a mixed test. Write, fix and predict real PHP – it runs in your browser. Learn it first in the PHP course (24 lessons).

How the tests are marked

Everything is marked by Classfern in your browser, straight away. Your code is never sent to us. The first code question downloads PHP itself (about 3 MB, once).

Learn first

The Programming Department has the full PHP course: 24 lessons, each with teaching, a worked example, practice and homework, starting with Lesson 1: echo, strings and the PHP tag.

Classfern practice material. Not an official test and not affiliated with or endorsed by the Department for Education or any exam board. Classfern is not affiliated with or endorsed by The PHP Group. PHP runs here as php-wasm, under its open-source licences.

Contains public sector information licensed under the Open Government Licence v3.0. Curriculum statements from: Department for Education, National curriculum in England: computing programmes of study, © Crown copyright 2013.