Educator
GCSE Computer Science

Fundamentals of Data Representation

163 questions14 subtopicsAQAEdexcelEduqasOCR
Practise all 163 questions free →

What's covered

Converting Between Binary, Decimal and Hexadecimal18
Image File Size Calculations15
Binary Addition13
Huffman Coding13
Units of Information — Bit, Byte, Decimal Prefixes12
Image Representation — Pixels, Resolution, Colour Depth11
Number Bases — Decimal, Binary, Hexadecimal11
Run Length Encoding (RLE)11
Binary Shifts — Logical Left and Right10
Character Encoding — Unicode10
Data Compression — Need and Benefits10
Sound Representation — Sampling Rate and Resolution10
Why Hexadecimal is Used in Computing10
Character Encoding — ASCII (7-bit)9

Key facts

1

0011 + 0011 = 0110 (3 + 3 = 6).

2

A logical left shift by 1 multiplies an unsigned binary number by 2.

3

The ASCII code for the digit '0' is decimal 48; '1' is 49; '9' is 57.

4

Unicode covers almost every modern writing system — Chinese, Arabic, Cyrillic, Hindi, emoji, and many more.

5

Binary 1010 = 8 + 0 + 2 + 0 = 10 in decimal.

6

The two compression methods named on the AQA spec are Huffman coding and run-length encoding (RLE).

7

Each branch from a Huffman tree node represents a binary digit (typically 0 = left, 1 = right).

8

A 1000 × 1000 image at 8-bit colour = 8 × 10⁶ bits ÷ 8 = 1 × 10⁶ bytes ≈ 1 MB (AQA decimal megabyte = 10⁶ bytes).

9

1-bit colour depth allows 2¹ = 2 colours per pixel (typically black and white).

10

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.

1Binary Addition

What does 1 + 1 equal in binary?

  • 10
  • 100
  • 11
  • 2
2Binary Shifts — Logical Left and Right

What is 0011 shifted left by 1?

  • 0001 (one in decimal)
  • 0011 (three unchanged)
  • 0110 (six in decimal)
  • 1100 (twelve in decimal)
3Character Encoding — ASCII (7-bit)

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)
4Character Encoding — Unicode

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
5Converting Between Binary, Decimal and Hexadecimal

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)
6Data Compression — Need and Benefits

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.

More GCSE Computer Science topics