Edexcel 1CP2 2.3.2: Compression
The free BugBot lesson that teach this point, a robot to try it on, and the past-paper questions that test it.
What it covers
Images, sound and video are large, and storage and networks are not free: a robot's radio can carry only 200 characters in one message. Compression makes files smaller. This lesson meets the two kinds, and two methods, run length encoding and Huffman coding, both written in Python.
- Lossy and lossless
- Run length encoding
- Huffman coding
- Which to use
Or do it in the simulator, with tasks that mark themselves
Lessons that teach it
- F8.9 Compression Data representation
Lossy and lossless; run length encoding and Huffman coding.
Try it on a robot
The task from F8.9 Compression, running here. Change the program and press Run.
The specification is Edexcel's own document; this page says which of our lessons teach point 2.3.2 and is not endorsed by the board.