Representing characters: ASCII
Every letter, digit and symbol you type is stored as a binary code. ASCII is the classic character set.
Character sets
7-bit ASCII has 27 = 128 codes, covering English letters, digits, punctuation and control codes such as Enter.
Codes run in order
| Character | Denary code | 7-bit binary |
|---|---|---|
| A | 65 | 1000001 |
| B | 66 | 1000010 |
| a | 97 | 1100001 |
| 0 | 48 | 0110000 |
| Space | 32 | 0100000 |
Unicode (International GCSE)
Unicode uses more bits per character, so it can represent many thousands of characters, and its first 128 codes match ASCII.
The cost is that text can take more storage.
'A' is 65. What is the ASCII code for 'G'?
- G is 6 letters after A.
- 65 + 6
Answer: 71
7-bit ASCII gives 128 characters, with letters and digits in order. 'A' = 65, 'a' = 97, '0' = 48. Unicode extends this to many more characters.
- ASCII
- A 7-bit character set with 128 codes for English letters, digits, punctuation and control codes.
- Binary
- Base 2: the number system that uses only the digits 0 and 1.
- Character set
- A list of characters a computer can use, each with a unique binary code.
- Unicode
- A character set that uses more bits than ASCII so it can represent characters from most of the world's languages.
All GCSE and International GCSE Computer Science key terms and definitions โ
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
A character set uses 8 bits per character. How many different characters can it represent?
Show the answer
Answer: 256
28 = 256 different codes.
'A' has the ASCII code 65. What is the code for 'J'?
Show the answer
Answer: 74
Count on from A: J is 9 letters after A, so 65 + 9 = 74.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
- Pearson Edexcel GCSE Computer Science (1CP2) specification, topic 2.2.1
- Pearson Edexcel International GCSE Computer Science (4CP0) specification, topic 3.2.1
- Pearson Edexcel GCSE (9-1) Computer Science (1CP2) specification
Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.
What do exam command words like explain and evaluate mean? โ