Identifiers are case insensitive
Capital letters do not matter in identifiers, so Countdown and CountDown are the same name. Never use names that differ only in case as two separate variables.
Understanding Identifiers are case insensitive in IGCSE Computer Science Paper 2
What it does: The only difference between the two names is capital letters, and case does not matter for identifiers. HighScore and LowScore differ in whole words, so they are two separate variables and cannot be confused. Identifiers are case insensitive, so Score, SCORE and score all refer to the same variable. Mixed case is for readability only. FirstName and firstname are still the same identifier. Age and AGE are the same identifier. Use names that clearly differ in their letters, with one name meaning one thing. Capitals at the start of each word (PlayerName) help readability. They do not create a different name.
Common mistakes: TOTAL and Total are the same identifier because capital letters do not matter. This declares the same variable twice. Use a different name, such as Count. bonus on line 1 and Bonus on line 2 differ only in case, so they are the same name. Two variables cannot share one identifier. Line 1 should declare a different name, such as Lives.
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 307–316) and word search (Modules 296–316).
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
case insensitiveFill in the Blanks
Spot the Error
Student with a class code? Join your class →