Cambridge International Pseudocode Guide (2026)

This page outlines the official pseudocode conversion rules for Cambridge International AS & A Level Computer Science (9618) 2026 examinations.
Refer to these guidelines when converting Python code to Cambridge standard pseudocode.
Reference: Cambridge Official Pseudocode Guide (PDF)

🔹 Cambridge International Pseudocode Conversion Rules (2026)

Basic Syntax

PythonCambridge
# comment// comment
x = 5x ← 5
print(x, y)output x, y
x = input()input x
A[0]A[1]

Control Structures

PythonCambridge
if x == 0:IF x = 0 THEN
for i in range(1, 6):FOR i ← 1 TO 5
while x < 10:WHILE x < 10 DO
def add(a, b):FUNCTION add(a, b)

Operators

PythonCambridge
a // ba DIV b
a % ba MOD b
and, or, notAND, OR, NOT
==, !==, <>
**^