Character set
The agreed list of characters a system can use, with a unique binary code for each one, so every device reads the same code as the same character.
Understanding Character set in IGCSE Computer Science Paper 1
What it does: Adding a bit doubles the number of unique codes, so a set with more characters needs codes with more bits. A letter, a digit, a punctuation mark and a symbol are all characters in the set, and each has a different binary code. A character set gives every character a unique code. If two characters shared a code, the computer could not tell them apart. A character set covers more than letters. It includes digits like 7, punctuation like ! and symbols like £ or #. Character sets are agreed in advance, so any device that uses the same set reads a code as the same character.
Common mistakes: The number of codes n bits can store is 2 to the power n, so the line must be size = 2 ** bits. With 7 bits that gives 128 codes, but 2 * bits would give only 14. ord() turns a character into its number code. chr() does the opposite and turns a number into a character. The line should be code = ord(letter).
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 28–41) and word search (Modules 28–58).
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
character setFill in the Blanks
Spot the Error
Student with a class code? Join your class →