Keywords in capital letters
A Cambridge pseudocode keyword. All keywords, such as IF, THEN, FOR, NEXT and OUTPUT, are written in capital letters, and they cannot be used as identifier names.
Understanding Keywords in capital letters in IGCSE Computer Science Paper 2
What it does: IF, THEN, OUTPUT and ENDIF are all keywords written in capitals, and ENDIF closes the IF. FOR and TO are keywords, so both must be in capital letters. Cambridge pseudocode expects every keyword in capitals, for example OUTPUT, INPUT, IF and NEXT. ENDIF is a keyword, so it is written in capital letters to close an IF structure. IF is a keyword, so it cannot be used as an identifier name. TotalScore is a valid name. OUTPUT is a keyword and must be written in upper case. Cambridge pseudocode writes keywords such as IF and THEN in upper case. The identifier Score is in Pascal case.
Common mistakes: OUTPUT is a Cambridge pseudocode keyword, so it must be written in capital letters. The line should be OUTPUT "Pass". NEXT closes a FOR loop and is a keyword, so it must be in capital letters. The line should be NEXT Count.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 17–26) and word search (Modules 1–26).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
IFFill in the Blanks
Spot the Error
Student with a class code? Join your class →