Sound, Radio & InformationMedia Compression

How ZIP Works

Frequent patterns get short codes, the trick Morse found first

Zip a long document and it shrinks to about half, yet every letter comes back. So what did it throw away?

You'll find out

  • How do letter counts become a code?
  • Why don't the bits need pauses?
  • Why does zipping twice save nothing?

Why it matters

Much of what you download travels squeezed this way, and comes back whole.

About 4 min7 interactive slides · 5 questionsLesson 393 · Zone 44

Play this lesson

Free to play in your browser or on iPhone

More in this zone

  1. 388Behavioral EconomicsThe Unfair OfferPeople turn down free money to punish unfairness
  2. 389Stochastic ProcessesThe Drunkard's WalkRandom steps still create predictable patterns
  3. 390Game TheoryAdding a Road Can Cause More TrafficA new shortcut can make everyone's journey slower
  4. 391Hacking HistoryThe Whistle That Hacked the Phone NetworkA toy whistle from a cereal box made free calls
  5. 392Information TheoryMorse CodeThe most common letter got the shortest code
  6. 394Language TechnologyThe Context WindowAI can only keep a limited amount of text in mind at once
  7. 395Oculomotor ScienceYou're Blind Several Times a SecondYour eyes jump constantly and your brain hides the gaps
  8. 396SpaceflightRockets That Land ThemselvesBoosters now fly back and land upright on a pad