Limitations of binary data representation (Edexcel GCSE Computer Science): Revision Notes
Limitations of binary data representation
What are the limitations?
The number of bits you have available to store data creates important limits on what values can be represented. Think of bits like storage slots - the more you have, the more different patterns you can create, but there's always a maximum limit.
Understanding these limitations is crucial because they affect everything from the range of numbers you can store to the quality of images and sound files.
How many different values can you represent?
The key to understanding binary limitations is this simple formula: (where n = number of bits).
This means if you have n bits, you can create different binary patterns.

Worked Example: Calculating Possible Values
Let's see how the formula works in practice:
- With 1 bit: values (0, 1)
- With 4 bits: values (0000 through 1111)
- With 8 bits: values (00000000 through 11111111)
- With 16 bits: values
The more bits available, the wider the range of values you can represent, but you're always limited by the number of bits allocated.
Representing numbers with limited bits
Unsigned integers
When binary patterns represent unsigned integers (positive numbers only):
- 4 bits can represent numbers 0 to 15
- 8 bits can represent numbers 0 to 255
Signed integers
When using two's complement to represent both positive and negative numbers:
- 4 bits can represent numbers -8 to +7
- 8 bits can represent numbers -128 to +127
Critical Trade-off: Including negative numbers cuts your positive range in half! This is because one bit is used to indicate the sign, reducing the bits available for the actual value.
Character representation limitations
ASCII character set
The original 7-bit ASCII system provides 128 different patterns (). This covers:
- English letters (upper and lowercase)
- Digits 0-9
- Basic punctuation and control characters
ASCII's limitation becomes clear when you need other languages like Japanese Kanji or Arabic script - there simply aren't enough patterns available.
Unicode expansion
Unicode was developed to overcome ASCII's limitations by using more bits per character. This allows representation of over 140,000 different characters from various writing systems, but requires significantly more storage space.
Image representation limitations
Colour depth determines how many bits are used for each pixel's colour information.
Example: Colour Depth Impact
With 4-bit colour depth:
- You can only display 16 different colours ()
- Every pixel must be one of these 16 colours only
Increasing to 16-bit colour depth gives you 65,536 possible colours (), creating much richer images but requiring more storage space.
This creates a constant trade-off: better image quality means larger file sizes.
Sound representation limitations
Bit depth in audio determines how many different volume levels can be represented for each sound sample.
With 16-bit audio:
- You get 65,536 different possible volume levels ()
- Higher bit depths like 24-bit provide 16 million levels (), giving much more detailed sound reproduction
Increasing bit depth improves audio quality but dramatically increases file sizes.
Key Points to Remember:
- The formula is key: n bits gives you different patterns maximum
- More bits = more possibilities but also larger file sizes and more storage needed
- Every data type has trade-offs: quality vs storage space, positive range vs including negatives
- Different applications need different bit allocations: simple text needs fewer bits than high-quality images or audio
- You can never represent infinite values - there's always a maximum limit based on available bits