Fundamentals of Data Representation
What's covered
Key facts
0011 + 0011 = 0110 (3 + 3 = 6).
A logical left shift by 1 multiplies an unsigned binary number by 2.
The ASCII code for the digit '0' is decimal 48; '1' is 49; '9' is 57.
Unicode covers almost every modern writing system — Chinese, Arabic, Cyrillic, Hindi, emoji, and many more.
Binary 1010 = 8 + 0 + 2 + 0 = 10 in decimal.
The two compression methods named on the AQA spec are Huffman coding and run-length encoding (RLE).
Each branch from a Huffman tree node represents a binary digit (typically 0 = left, 1 = right).
A 1000 × 1000 image at 8-bit colour = 8 × 10⁶ bits ÷ 8 = 1 × 10⁶ bytes ≈ 1 MB (AQA decimal megabyte = 10⁶ bytes).
1-bit colour depth allows 2¹ = 2 colours per pixel (typically black and white).
Binary uses base 2, hexadecimal uses base 16.
Sample questions
A taste of the 163 questions in this topic — answers marked. Sign up to practise the full set with spaced repetition.
What does 1 + 1 equal in binary?
- ✓10
- •100
- •11
- •2
What is 0011 shifted left by 1?
- •0001 (one in decimal)
- •0011 (three unchanged)
- ✓0110 (six in decimal)
- •1100 (twelve in decimal)
How many characters can 7-bit ASCII represent?
- ✓128 (2 to the 7)
- •256 (2 to the 8)
- •512 (2 to the 9)
- •64 (2 to the 6)
What was the main reason Unicode was developed?
- •To allow computers to process images alongside text
- •To reduce the file size of text documents
- •To replace binary with a more efficient encoding
- ✓To support more languages worldwide
What is binary 00001111 in decimal?
- •Eight (only the leftmost bit)
- ✓Fifteen (the value of nibble F)
- •Four (only middle bits set)
- •Thirty (double the actual value)
Why is data compression useful?
- •Files become easier to read by humans
- •Files become more secure from attackers
- •Files run faster on slower CPUs only
- ✓Files take less storage and bandwidth
Try it for four weeks. Free.
One school. Unlimited classes. No card limit. No teacher limit. If your students aren't practising daily by the end of the trial, you owe us nothing.