← Digital systems

Data representation

Everything a computer stores is numbers: text as character codes, pictures as pixels, sound as samples. Then how those numbers are stored with only 0s and 1s: binary place value, how many numbers a few bits can hold, logic gates, and the chain from any data down to bytes.

Start1. Everything is numbers

Data as numbers

Text, pictures and sound are all stored as numbers, and the encoding decides what they mean: character codes, RGB pixels, shapes and sound samples.

1Everything is numbersNot started
2Text as numbersNot started
3Colour and imagesNot started
3.5Shapes as numbersNot started

A vector picture stores shapes, not pixels: a circle is where its centre is, how big it is and its colour, a few numbers in all. The computer draws it again at any size, so it stays sharp, and it stays small. Photos suit bitmaps; logos, icons and fonts suit vectors. 3D models are numbers too: a list of corners (x, y, z) and the faces that join them.

  1. Engage: zoom in
  2. Explore: sharp at any size? › Zoom in
  3. Explore: sharp at any size? › More pixels
  4. Explain: a picture as shapes
  5. Elaborate: change the numbers › Bigger
  6. Elaborate: change the numbers › Move it
  7. Elaborate: change the numbers › A 3D model
  8. Elaborate: the club badge
  9. Evaluate: look back › Vector or bitmap?
  10. Evaluate: look back › Look back
Start lesson
4Sound as numbersNot started

Binary numbers

Read and write numbers in binary, work out how many numbers a set of bits can hold, see why computers are built on switches and logic gates, and trace any data down to its bytes.

5Bits and binary numbersNot started
6How many patterns?Not started
7Why binary: logic gatesNot started
8Bits all the way downNot started

Progress is saved in this browser only. Nothing is sent anywhere.

For teachers: Teacher guide (notes, answers, solutions, slides and worksheets)