← How computers work

Making data smaller

Squash data and see what is lost.

Start1. Run-length encoding
For teachers For Years 9–10 · 2 lessons

Compression for Years 9–10: why it matters, run-length encoding (store how many of each colour in turn, and get back exactly the same picture), and lossy compression, which throws away what we won't notice, for good.

  • For Years 9–10
  • Lessons 2
  • Do first Data representation
Teacher guide

Compression

Run-length encoding, and when it is fine to throw data away (lossy and lossless).

1Run-length encodingNot started
2Lossy or losslessNot started

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

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