GCSE Computer Science · Number bases, binary arithmetic, units, characters, images, sound and compression
Data representation
GCSE · AQA · OCR
Data representation
Number bases, binary arithmetic, units, characters, images, sound and compression
Study Simplified revision slides
In this deck
Exam boardsAQAOCR
Units: AQA uses decimal prefixes (kilo = 1000) and also binary prefixes (kibi = 1024); OCR accepts 1000 or 1024 in conversions (verify wording against each spec).; AQA only: Huffman coding (3.3.8) is named in AQA only; items mention it as AQA.; Both: Binary/denary/hex conversion, binary addition, overflow, binary shifts, characters, images, sound and lossy/lossless compression (AQA 3.3; OCR 1.2.4-1.2.5). RLE appears
Tip: press T or tap Test me to hide the answers and quiz yourself.
Have a go first
Convert the binary number 10110110 to denary.
182. 128 + 32 + 16 + 4 + 2 = 182.
Guessing is fine. Trying before you revise helps it stick.
Key facts
Binary
Base 2 number system using the digits 0 and 1
Hexadecimal
Base 16 number system using 0–9 and A–F
Why hexadecimal is used
It is shorter and easier for humans to read than binary, with fewer errors
Bit
A single binary digit, 0 or 1
Key facts
Nibble
4 bits
Byte
8 bits
Kilobyte (kB)
1000 bytes (AQA decimal prefix); a kibibyte (KiB) is 1024 bytes
Order of units
bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte (OCR also lists petabyte)
Key facts
Overflow
When the result of a calculation needs more bits than are available
Left binary shift
Moving bits left; each place multiplies the number by 2
Right binary shift
Moving bits right; each place divides by 2 (losing any remainder)
Character set
A defined list of characters recognised by a computer, each with a unique binary code
Key facts
ASCII
7-bit character set with 128 characters
Unicode
Character set that uses more bits to represent characters from many languages and emoji
Pixel
The smallest element of a bitmap image
Colour depth
The number of bits used to store the colour of each pixel
Key facts
Resolution (image)
The number of pixels in an image, e.g. width × height
Image file size (bits)
width × height × colour depth
Metadata
Extra data about a file, e.g. image width, height and colour depth
Sample rate
Number of samples of a sound taken per second, measured in hertz (Hz)
Key facts
Sample resolution (bit depth)
Number of bits used to store each sample
Sound file size (bits)
sample rate × sample resolution × duration in seconds
Lossy compression
Permanently removes some data to reduce file size, e.g. JPEG, MP3
Lossless compression
Reduces file size without losing any data; the original can be restored, e.g. PNG, ZIP
Key facts
Run length encoding (RLE)
Lossless compression storing runs of the same data as a count and the value
Huffman coding
Lossless compression giving shorter codes to more frequent characters (AQA)
Key terms
- Binary
- Base 2 number system using the digits 0 and 1
- Hexadecimal
- Base 16 number system using 0–9 and A–F
- Why hexadecimal is used
- It is shorter and easier for humans to read than binary, with fewer errors
- Bit
- A single binary digit, 0 or 1
- Nibble
- 4 bits
- Byte
- 8 bits
Quick check 1
Convert denary 200 to binary (8 bits).
11001000. 128 + 64 + 8 = 200.
Quick check 2
Convert the hexadecimal number 3F to denary.
63. 3 × 16 + 15 = 63.
Teaching? Open in present mode. Swipe, use the arrow keys or tap the arrows. Download PDF opens your print window: choose "Save as PDF".
Data representation: key facts
Everything on the slides, as a list you can read or print.
- Binary
- Base 2 number system using the digits 0 and 1
- Hexadecimal
- Base 16 number system using 0–9 and A–F
- Why hexadecimal is used
- It is shorter and easier for humans to read than binary, with fewer errors
- Bit
- A single binary digit, 0 or 1
- Nibble
- 4 bits
- Byte
- 8 bits
- Kilobyte (kB)
- 1000 bytes (AQA decimal prefix); a kibibyte (KiB) is 1024 bytes
- Order of units
- bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte (OCR also lists petabyte)
- Overflow
- When the result of a calculation needs more bits than are available
- Left binary shift
- Moving bits left; each place multiplies the number by 2
- Right binary shift
- Moving bits right; each place divides by 2 (losing any remainder)
- Character set
- A defined list of characters recognised by a computer, each with a unique binary code
- ASCII
- 7-bit character set with 128 characters
- Unicode
- Character set that uses more bits to represent characters from many languages and emoji
- Pixel
- The smallest element of a bitmap image
- Colour depth
- The number of bits used to store the colour of each pixel
- Resolution (image)
- The number of pixels in an image, e.g. width × height
- Image file size (bits)
- width × height × colour depth
- Metadata
- Extra data about a file, e.g. image width, height and colour depth
- Sample rate
- Number of samples of a sound taken per second, measured in hertz (Hz)
- Sample resolution (bit depth)
- Number of bits used to store each sample
- Sound file size (bits)
- sample rate × sample resolution × duration in seconds
- Lossy compression
- Permanently removes some data to reduce file size, e.g. JPEG, MP3
- Lossless compression
- Reduces file size without losing any data; the original can be restored, e.g. PNG, ZIP
- Run length encoding (RLE)
- Lossless compression storing runs of the same data as a count and the value
- Huffman coding
- Lossless compression giving shorter codes to more frequent characters (AQA)
✓ Written by Study Simplified to the AQA · OCR GCSE Computer Science specification, and independently fact-checked against the official specification. Last reviewed 1 December 2026.
Study Simplified