KwickClips Computer Systems · 43 sec · free
What does RLE store for each run?
Short answer. A count and a value.
Does lossless compression lose data?
No, the exact file comes back.
Run length encoding
| Data | RLE |
|---|---|
| WWWWWWBBB | 6W 3B |
| AAAAAAAA | 8A |
Remember
| Lossless: exact copy back |
| RLE: count and value |
Can a file shrink and lose nothing? Yes. Use run length encoding. It stores each run as a count and a value. Six W and three B. Eight A. Remember. Lossless gives the exact file back. RLE stores count and value.
This clip is from the full lesson: Data Compression: Lossy and Lossless — 5 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: Cambridge IGCSE Grade 9 Computer Science (0478), Cambridge IGCSE Grade 10 Computer Science (0478), Edexcel GCSE GCSE Computer Science (1CP2)
More KwickClips from this lesson
What does compression do to a file?39 sec
Can lossy removed data be brought back?42 sec
Can you use lossy compression for an app?42 secDisclaimer. KwickAcademy is free study material for general learning and revision. Parts of it, including the voice-over, are produced with the help of AI tools and may contain errors; if you spot one, please tell us and we will correct it. Syllabus, marks and exam details follow the latest official board publications available to us, and boards can change them at any time, so always confirm against your board's official website and your school. Using this material does not guarantee any marks or result. Board names and trademarks belong to their owners; Kwickprep is not affiliated with or endorsed by any examination board. We never ask for passwords, OTPs or ID numbers. Your progress is saved only in this browser. Full disclaimer · Privacy

