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.
Reviewed by: AI editorial process; not yet individually human-reviewed
Jump to a section
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 ) from binary prefixes (kibi ), and remember bits give 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 width height 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
- Convert the binary number to hexadecimal. (2 marks)
- State why hexadecimal is used as a shorthand for binary. (1 mark)
- Find the 8-bit two's complement representation of . (2 marks)
- State one advantage of floating point over fixed point. (1 mark)
- State how many values can be represented in 6 bits, and the difference between a kilobyte and a kibibyte. (2 marks)
- State why Unicode was introduced. (2 marks)
- Calculate the file size in bits of a image with colour depth 4 bits. (2 marks)
- Encode the string
WWWWWWBBBusing run length encoding. (1 mark)
Sources & how we know this
- AQA A-level Computer Science (7517) specification β AQA (2015)