Skip to main content
EnglandComputer Science

AQA A-Level Computer Science 4.5 Fundamentals of data representation: number systems, binary, characters, images, sound and compression

A deep-dive AQA A-Level Computer Science guide to 4.5 Fundamentals of data representation. Covers number systems and base conversion, signed binary in two's complement, fixed and floating point, bits and bytes, character encoding, representing images and sound, and data compression and encryption.

Generated by Claude Opus 4.818 min read4.5

Reviewed by: AI editorial process; not yet individually human-reviewed

Jump to a section
  1. What 4.5 actually demands
  2. Number systems and binary numbers
  3. Bits, bytes and characters
  4. Images, sound, compression and encryption
  5. Check your knowledge

What 4.5 actually demands

Everything in a computer is stored as binary, and this module is how. AQA expects fluent, accurate conversions and calculations, so the skills must be automatic. The topics run from number bases through signed and real numbers, then how text, images and sound are encoded, and finally how data is compressed, encrypted and checked for errors.

Number systems and binary numbers

Convert confidently between decimal, binary and hexadecimal. Represent signed integers in two's complement (most significant bit negative; negate by inverting and adding 1), add and subtract in binary, and represent reals in fixed point (constant precision) or floating point (mantissa and exponent, larger range). Watch for overflow and rounding errors.

Bits, bytes and characters

A bit is one binary digit; a byte is 8 bits. Distinguish decimal prefixes (kilo =103= 10^3) from binary prefixes (kibi =210=1024= 2^{10} = 1024), and remember nn bits give 2n2^n values. Character encoding maps characters to codes: ASCII uses 7 bits (128 codes), and Unicode was introduced to cover every writing system while staying backward compatible with ASCII.

Images, sound, compression and encryption

A bitmap image is pixels storing colour, with colour depth (bits per pixel) and resolution; file size β‰ˆ\approx width Γ—\times height Γ—\times colour depth. Sound is sampled at a sample rate and sample resolution. Lossless compression (run length encoding, dictionary-based) preserves the original; lossy discards detail. Symmetric encryption uses a shared key; asymmetric uses a public/private key pair. Parity bits and check digits detect errors.

Check your knowledge

  1. Convert the binary number 1101 00101101\,0010 to hexadecimal. (2 marks)
  2. State why hexadecimal is used as a shorthand for binary. (1 mark)
  3. Find the 8-bit two's complement representation of βˆ’6-6. (2 marks)
  4. State one advantage of floating point over fixed point. (1 mark)
  5. State how many values can be represented in 6 bits, and the difference between a kilobyte and a kibibyte. (2 marks)
  6. State why Unicode was introduced. (2 marks)
  7. Calculate the file size in bits of a 100Γ—50100 \times 50 image with colour depth 4 bits. (2 marks)
  8. Encode the string WWWWWWBBB using run length encoding. (1 mark)

Sources & how we know this

  • computer-science
  • a-level-aqa
  • aqa-computer-science
  • data-representation
  • a-level
  • binary
  • hexadecimal
  • twos-complement
  • sampling