Pearson Edexcel · GCSE · Computer Science
Course version: 1CP2 · Version from Sept 2020
Understand that computers use binary to represent data (numbers, text,…
Full specification wording
Binary: 2.1.1 understand that computers use binary to represent data (numbers, text, sound, graphics) and program instructions and be able to determine the maximum number of states that can be represented by a binary pattern of a given length
Computers store and process everything as binary patterns of 0s and 1s, because each bit is a two-state signal that hardware can hold reliably.
Checked against the Pearson Edexcel 1CP2 specification (opens in a new tab) on .
- Point 1 of 6
- 4 key terms
Study notes
From the checked teaching notes for this specification point.
The idea
Computers store and process everything as binary patterns of 0s and 1s, because each bit is a two-state signal that hardware can hold reliably. The same bit pattern can stand for different things depending on how it is interpreted: a number, a character of text, a sample of sound, a pixel colour in a graphic, or part of a program instruction. For example, the 8-bit pattern 01000001 can be the unsigned integer 65 or the character 'A', depending on context. The number of distinct patterns a group of n bits can form is 2ⁿ, so 4 bits give 2⁴ = 16 states, 8 bits give 2⁸ = 256 states, and 10 bits give 2¹⁰ = 1024 states. The maximum number of states is therefore found by raising 2 to the power of the bit length; the highest unsigned value is one less than that count.
What earns the marks
- Binary uses only two symbols, 0 and 1, and each bit is a two-state unit that hardware can represent reliably.
- The same binary pattern can represent different data types, such as numbers, text characters, sound samples, graphic pixels or program instructions, depending on how it is interpreted.
- The number of distinct states for a pattern of n bits is 2ⁿ; for example 4 bits give 2⁴ = 16 states and 8 bits give 2⁸ = 256 states.
- The maximum number of states is calculated by raising 2 to the power of the bit length, not by multiplying the bit length by 2.
- The highest unsigned value representable by n bits is 2ⁿ − 1, which is one less than the number of states.
Common mistakes and how to put them right
Multiplying the number of bits by 2 instead of using powers of 2.
Put it right: The correct method is 2ⁿ, so 5 bits give 2⁵ = 32 states, not 10.
Confusing the number of states with the highest value.
Put it right: For 8 bits there are 256 states but the highest unsigned value is 255.
Assuming a binary pattern has only one fixed meaning.
Put it right: The same pattern can represent a number, a character, a sound sample or a graphic depending on the interpretation applied.
Exam tips
- Write the formula 2ⁿ before substituting the bit length, then evaluate the power carefully, for example 2⁶ = 64.
- Check whether the question asks for the number of states or the highest value; subtract 1 only when the highest unsigned value is required.
- Link each data type named in the question to a concrete example, such as 8 bits for a text character or a sound sample, to show understanding rather than just calculating.
Try the lesson
The start of the Binary: 2.1.1 understand that computers use binary to represent data (numbers, text, sound, graphics) and program instructions and be able to determine the maximum number of states that can be represented by a binary pattern of a given length lesson, made from checked teaching notes for this specification point.
Have a go first
A binary pattern is made up of 4 bits, and each bit can hold either a 0 or a 1. What is the maximum number of different states that this pattern can represent?
Listen
Computers store and process everything as binary patterns of 0s and 1s, because each bit is a two-state signal that hardware can hold reliably. The same bit pattern can stand for different things depending on how it is interpreted: a number, a character of text, a sample of sound, a pixel colour in a graphic, or part of a program instruction. For example, the 8-bit pattern 01000001 can be the unsigned integer 65 or the character 'A', depending on context. The number of distinct patterns a group of n bits can form is 2ⁿ, so 4 bits give 2⁴ = 16 states, 8 bits give 2⁸ = 256 states, and 10 bits give 2¹⁰ = 1024 states. The maximum number of states is therefore found by raising 2 to the power of the bit length; the highest unsigned value is one less than that count. A strong answer earns marks for these points. Binary uses only two symbols, 0 and 1, and each bit is a two-state unit that hardware can represent reliably. The same binary pattern can represent different data types, such as numbers, text characters, sound samples, graphic pixels or program instructions, depending on how it is interpreted. The number of distinct states for a pattern of n bits is 2ⁿ; for example 4 bits give 2⁴ = 16 states and 8 bits give 2⁸ = 256 states. The maximum number of states is calculated by raising 2 to the power of the bit length, not by multiplying the bit length by 2. Exam tip: Write the formula 2ⁿ before substituting the bit length, then evaluate the power carefully, for example 2⁶ = 64.
See it
Key words
Say what each word means before you turn the card.
Binary representation of data
Try answering aloud or in your head before turning the card.
Numbers, text, sound and graphics
Try answering aloud or in your head before turning the card.
Program instructions as binary
Try answering aloud or in your head before turning the card.
Powers of two and state counts
Try answering aloud or in your head before turning the card.
See every definition
- Binary representation of data
- Computers use binary to represent data such as numbers, text, sound and graphics, and program instructions.
- Numbers, text, sound and graphics
- These are the data types that computers represent using binary.
- Program instructions as binary
- Computers use binary to represent program instructions as well as data.
- Powers of two and state counts
- The number of distinct states for a pattern of n bits is 2ⁿ, found by raising 2 to the power of the bit length.
Label the diagram
Some boxes have lost their names. Pick the right name for each number.
1Box 1
2Box 2
3Box 3
There is more to this lesson
The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge
Test your understanding of Binary: 2.1.1 understand that computers use binary to represent data (numbers, text, sound, graphics) and program instructions and be able to determine the maximum number of states that can be represented by a binary pattern of a given length
Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge