CHAR data type
The data type for exactly one character (a letter, digit or symbol), written in single quotes, such as 'x', '7' or '@'. Even '7' is a character, not a number.
Understanding CHAR data type in IGCSE Computer Science Paper 2
What it does: 'x' is one character in single quotes, so it is a valid CHAR value. A CHAR holds exactly one character. This can be a letter, a digit or a symbol such as '@'. '@@' has two characters. Each option is a single letter, so CHAR is the best choice.
Common mistakes: A CHAR holds exactly one character. 'BC' is two characters, so it would need to be a STRING. It should be grade ← 'B'. CHAR values are written in single quotes, not double quotes. It should be symbol ← '@'.
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 317–326) and word search (Modules 317–336).
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
CHARFill in the Blanks
Spot the Error
Student with a class code? Join your class →