If you’ve ever tried to upload a video on shaky school Wi-Fi, you’ve felt the quiet power of compression. In IB Computer Science, that everyday annoyance becomes an exam topic: explain how data gets smaller, what gets sacrificed (or not), and why we choose one method over another. The marks are rarely about fancy wording. They’re about being precise, calm, and clear when the question asks for lossy vs lossless compression.

What data compression means in IB Computer Science
Compression is the process of reducing file size so it uses less storage and transmits faster. In IB Computer Science, you’re expected to connect compression to practical constraints: bandwidth, transfer time, and storage limits.
Quick checklist for exam answers:
-
Define compression in one sentence
-
State the two types: lossless and lossy
-
Explain the trade-off: size vs accuracy/quality
-
Give one correct format example for each type
For syllabus-aligned definitions, keep the IB Computer Science Key Definitions open while you revise.
Lossless compression (keeps every bit)
Lossless compression reduces size without permanently removing information. That means the original file can be reconstructed perfectly after decompression. In IB Computer Science, this matters whenever accuracy is non-negotiable.
Common examples:




