Cambridge Pseudocode & Syntax Reference Guide
The complete, independent reference manual for Cambridge IGCSE (0478 / 0984) and International AS & A Level (9618) pseudocode conventions, keywords, and built-in functions.
Complete Cambridge Pseudocode Language Guide
Master declarations, arrow assignment (<-), 1-based arrays, user-defined data types, nested selection (IF/CASE), loops (FOR/WHILE/REPEAT), subroutines (BYREF/BYVAL), file handling, object-oriented programming, and all CAIE built-in string & numeric functions.
Interactive Pseudocode Sandbox
Test any pseudocode algorithm directly in your browser with step-by-step trace tables, input simulations, and shareable permalinks.
Topics Covered
View All Topics →Cambridge pseudocode formatting conventions: font, indentation, uppercase keywords, line numbering, comments, and BNF notation for CAIE CS exams.
Cambridge pseudocode variable declarations, INTEGER, REAL, CHAR, STRING, BOOLEAN, DATE data types, CONSTANT definitions, and arrow (<-) assignments.
1D and 2D array declarations with strict 1-based indexing, element access, boundary loops, and whole-array assignment in Cambridge pseudocode.
Cambridge AS & A Level (9618) user-defined types: Enumerated types, Pointers (^), Composite Record structures (TYPE..ENDTYPE), and Sets.
Cambridge pseudocode I/O routines, arithmetic (DIV/MOD), relational operators, Boolean logic, and unified string & numeric built-in functions.
Cambridge pseudocode conditional statements: IF..THEN..ELSE..ENDIF and CASE OF..OTHERWISE..ENDCASE with continuous value ranges.
Count-controlled FOR..TO..STEP..NEXT, post-condition REPEAT..UNTIL, and pre-condition WHILE..ENDWHILE loops in Cambridge pseudocode.
Modular Cambridge pseudocode subroutines: PROCEDURE with CALL, FUNCTION with RETURN, and parameter passing by value (BYVAL) and reference (BYREF).
Cambridge IGCSE and AS & A Level sequential text files (OPENFILE, READFILE, WRITEFILE, EOF), with 9618 random-access extensions.
Cambridge A Level (9618) OOP: CLASS declarations, constructor NEW, PUBLIC/PRIVATE encapsulation, inheritance with INHERITS, and SUPER dispatch.
Complete A-Z reference index of standard Cambridge Computer Science pseudocode keywords, symbols, statements, and operators for IGCSE and A Level.