KS3 computing practice tests: Python and SQL (Years 7 to 9)
These are UK practice tests (year groups, national curriculum). In the US? Try the US version →
Free KS3 computing practice tests. Python tests for Year 7 follow our Python for complete beginners course, one test for each part of it. SQL tests for Year 9 ask questions of real tables. Every answer is marked straight away – your code is run in your browser. For Years 7 to 9 (ages 11–14). In the US, that's Grade 6 to Grade 8.
Python tests (Year 7)
One test for each part of the Python for complete beginners course, plus a mixed test.
SQL tests (Year 9)
Ask a table questions: find, sort, count and group rows. Each question shows its table.
HTML and CSS tests (Year 7)
One test for each unit of the HTML and CSS course, plus a mixed test. Build, fix and predict real web pages – your page is drawn by your own browser and marked with a checklist.
JavaScript tests (Year 8; the web page: Year 9)
One test for each part of the JavaScript for beginners course, plus a mixed test. Write, fix and predict real JavaScript – it runs in your browser. Learn it first in the JavaScript for beginners course (24 lessons).
How the tests are marked
- Predict: type what a program prints, or what a query gives – marked line by line.
- Trace tables and order: fill in a variable's values, or put mixed-up lines into a working order.
- Write it and fix it: your code runs in your browser against the example and hidden tests with different input, so it has to work every time.
- Choices: pick the right output or error.
Everything is marked by Classfern in your browser, straight away. Your code is never sent to us.
Learn first
The Programming Department has the full Python course: 24 lessons for complete beginners, each with teaching, worked examples, practice and homework, starting with Lesson 1: What is programming?.
Classfern practice material. Not an official test and not affiliated with or endorsed by the Department for Education or any exam board.
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.