Cambridge O Level Computer Science · Syllabus 2210 · Data Representation
Character Set
What is Character Set?
A character set is an agreed table that gives every character a unique character code, so that text can be converted to binary for a computer to store and process.
This definition is part of the Data Representation chapter in Cambridge O Level Computer Science.
Character Set in context
Every form of data a computer handles — a number, a character, a sound, an image — is converted into binary before it can be processed or stored. The conversion is done by an agreed encoding rule: place value for numbers, a character set for text, sampling for sound, pixels and colour depth for images. The binary is then held in fixed-width registers and processed using logic gates. Nothing about the pattern 01000001 tells you whether it means the number 65, the character A, one sample of a sound or one pixel of an image — only the rule you were told to apply does.
Text has to be converted to binary before a computer can process it. That conversion is done using a character set: an agreed table that gives every character a unique character code, which is then stored as a binary number. ASCII is one such character set. Unicode is another, and it allows for a far greater range of characters and symbols than ASCII, including different languages and emojis — but it requires more bits per character than ASCII.
Common mistakes with Character Set
- M10. "ASCII stores the visual shape of a letter." Why it fails A character set stores a code number. The shape comes from a font, which is separate data. Correct model Character → character code → binary. The font is applied only when the character is drawn. Exam-safe "A character set maps each character to a code number which is stored in binary; the shape displayed is determined separately by the font." Test yourselfHideQ. A document's font is changed from one typeface to another. Do the stored character codes change?A. No. Only the shapes drawn on screen change.
- M11. "Unicode is a font." Why it fails A font is a set of shapes for drawing characters. Unicode is a character set: it assigns code numbers. Correct model Unicode allows for a greater range of characters and symbols than ASCII, including different languages and emojis, and requires more bits per character. Exam-safe "Unicode is a character set, not a font; it assigns a code to a far greater range of characters than ASCII." Test yourselfHideQ. Give one advantage and one disadvantage of Unicode over ASCII.A. Advantage: a greater range of characters and symbols, including different languages and emojis. Disadvantage: it requires more bits per character, so files are larger.

