Computer Science programming laboratory
Cambridge-style execution engine

Write it. Run it.
Understand every step.

A complete browser IDE for Cambridge pseudocode—built for O Level, AS Level and A2 Level algorithm practice.

Live execution Trace debugger Runs on your device
Checking your Studio licence

One moment…

Supported language

Practise the syntax used in examinations.

The interpreter covers the constructs students use from O Level foundations through advanced A2 Level programming.

Variables & types

DECLARE Score : INTEGER · DECLARE Price : REAL · DECLARE Name : STRING

Selection

IF condition THEN … ELSE … ENDIF · ELSEIF condition THEN · CASE OF value … OTHERWISE … ENDCASE

Iteration

FOR Count ← 1 TO 10 … NEXT Count · FOR Count ← 10 TO 1 STEP -1 · WHILE condition DO … ENDWHILE

Arrays

DECLARE Scores : ARRAY[1:10] OF INTEGER · DECLARE Grid : ARRAY[1:3,1:4] OF INTEGER · Scores[Index] ← 50

Modules

PROCEDURE Name(Parameter : TYPE) · CALL Name(value) · BYREF Parameter : TYPE

Built-in functions

LENGTH · LCASE · UCASE · SUBSTRING(text, start, length) · ROUND(value, places) · INT

File handling

OPENFILE "file.txt" FOR READ · OPENFILE "file.txt" FOR WRITE · READFILE "file.txt", Variable

Operators

+ · - · * · / · ^ · DIV (integer division) · MOD (remainder)