Block Coding: Choices: If, Else and Repeat Until Practice Test (Grades 4–5)
These are US practice tests (grades, CSTA standards). In the UK? Try the UK version →
A free block coding choices: if, else and repeat until test for Grades 4–5: 12 questions, graded instantly – steer Myrtle the Turtle, read and fix block programs in your browser. No sign-up.
Before you start
12 questions on choices: if, else and repeat until, picked from a bank of 42 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 graded 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.
- 12 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
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 graded: Classfern's own checks, in your browser. Programs are run and checked against the task, some of them on hidden grids; nothing is graded 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.
Lines up with the CSTA K–12 Computer Science Standards (2017): 1B-AP-08 – Compare and refine several algorithms for one task and pick the best; 1B-AP-10 – Build programs with sequences, events, loops and conditionals; 1B-AP-15 – Test and debug a program or algorithm so it works as intended. The standard codes are CSTA's; the short descriptions are our own words.
Learn it first: Lesson 13: If there is a wall · Lesson 14: If … else · Lesson 15: Repeat until the star
More computer science tests · Programming Department · All practice tests