Computers do not store letters.
When you type the letter A, the computer does not store the shape of the letter.
It stores a number. That number is then represented in binary.
↓
65
↓
01000001
Learn how computers store letters, numbers, symbols and emoji using character sets, ASCII, Unicode and binary codes.
When you type the letter A, the computer does not store the shape of the letter.
It stores a number. That number is then represented in binary.
A character set maps each character to a unique code. Characters include letters, digits, punctuation marks and symbols.
The computer uses this mapping to convert text into binary and binary back into text.
In a school, every student can have a unique locker number. The locker number identifies one student.
A character set works in a similar way. Each character has its own unique number so the computer knows exactly which character is meant.
Standard ASCII uses 7 bits. This gives 128 possible character codes.
ASCII can represent basic English letters, digits, punctuation and control characters, but it is limited for world languages and modern symbols.
ASCII does not have enough codes for all languages, scripts, symbols and emoji.
Unicode was developed to represent a much larger range of characters from around the world.
To convert an ASCII binary value to denary, use the binary place values and add the columns that contain 1.
In exam answers, do not just write that each character “has a binary value”.
Say that each character is assigned a unique binary value by a character set.
Students sometimes answer text representation questions by describing how a keyboard works.
The question is usually asking how text is stored, so focus on character sets, unique codes and binary representation.
A character set maps characters to unique binary values.
ASCII is limited. Unicode supports many more characters and languages, but may require more storage.
Computers store text in binary because electronic circuits use two states: on and off.
Once students understand how text becomes binary, they are ready to see how images are represented using pixels, resolution and colour depth.