Get the appApp
Learning departments Music, Maths, Cookery, Programming and Art are open – explore →

KS2 computing: block coding – mixed practice test (Years 1–6)

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

A free block coding practice test for Years 1–6: 15 questions, marked instantly – steer Myrtle the Turtle, read and fix block programs in your browser. No sign-up.

Before you start

15 questions on everything in the block coding course, picked from a bank of 72 each time. Some questions ask where Myrtle stops or what she draws; some ask you to put blocks in order, spot a bug, or build a program with the blocks. Press Run to watch Myrtle the Turtle. Your program is marked when you move on – on the grid shown and on hidden ones. Choose Practice to see the answer after each question, or Test to see your answers at the end.

  • 15 questions – a new mix each time you try
  • Myrtle runs in your browser – nothing to install
  • Works with a mouse, a keyboard or a finger on a tablet or phone
Choose how to do it

No sign-up and no adverts. Your answers stay on this device. Nothing you do in the test is sent to us – unless you choose to report a problem with a question.

How it is marked: Classfern's own checks, in your browser. Programs are run and checked against the task, some of them on hidden grids; nothing is marked by a person or by guesswork. Spot a mistake? Use the Report button.

Classfern practice material. Not an official test. Written by Classfern for practice. Not affiliated with or endorsed by any exam board, testing agency, school district or government department. The block coding here is Classfern's own design.

Curriculum: the key stage 2 computing programme of study says pupils should be taught to understand what algorithms are, how they are implemented as programs on digital devices, and that programs execute by following precise and unambiguous instructions; and to create and debug simple programs; and to use logical reasoning to predict the behaviour of simple programs; and to design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts; and to use sequence, selection, and repetition in programs; work with variables and various forms of input and output; and to use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs.

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.

Learn it first: Lesson 1: Step by step: moving forward · Lesson 7: Pen down, pen up · Lesson 13: If there is a wall

More computing tests · Programming Department · All practice tests