Identifiers in Pascal case (7c)
An identifier in Pascal case: a variable or constant name using only letters and digits, starting with a capital, with each word capitalised and no spaces or underscores.
Understanding Identifiers in Pascal case (7c) in IGCSE Computer Science Paper 2
What it does: AverageMark tells the reader exactly what the variable holds, which is better than a vague name like X. The exception to the capital letter rule is that i and j may be used as loop counters or array indices. Pascal case capitalises each word and uses no underscores. NumberOfPlayers is correct. A space is not a letter or digit, so Total Score is not allowed. Write TotalScore instead. An identifier cannot start with a digit. Player1 starts with a capital letter, so it is fine. Single letters such as i and j are allowed for array indices. x_1 breaks the rules because it has an underscore.
Common mistakes: Identifiers may only use letters and digits, so an underscore is not allowed. Pascal case capitalises each word instead: PlayerCount. An identifier cannot contain a space, so Final Mark is not one name. It should be written FinalMark, matching the declaration.
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 136–145) and word search (Modules 123–145).
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
NumberOfPlayersFill in the Blanks
Spot the Error
Student with a class code? Join your class →