Quration AIQ

webdata

Squeezing a large file down into a smaller zipped version feels like magic, but it relies on a simple trick with patterns.

Which explanation comes closest to how zipping a file shrinks it?

Repeated patterns get rewritten in shorter notation
Lossless compression rewrites 'AAAA' as 'A×4' — fully reversible. JPG and MP3 are lossy: they discard details humans barely notice, which is why they're smaller but can't be restored.

Compressing a file relies on spotting repeated patterns and rewriting them in a shorter notation — a run like 'AAAA' can be stored as 'A times 4' instead of four separate characters, and since real files are full of such repetition, this rewriting shrinks the file size while remaining fully reversible back to the original.

Files don't contain physical 'empty space' that gets squeezed out in any literal sense, and lossless compression specifically does not delete less important content — that description actually applies to lossy formats, a different category entirely.

JPG images and MP3 audio use lossy compression instead, deliberately discarding fine details that human eyes and ears barely notice, which shrinks files even further than lossless methods can but means the original data can never be perfectly recovered afterward.

▶ Quration AIQ

webdata

What's the usual rule for choosing?What can you do there?What's this 'phone book of the internet'?What does that one letter s mean?What actually is a cookie?What is a cache?What's the closest physical reality behind 'I saved it to the cloud'?Which description fits?In https://shop.example.com/items?id=42, what is example.com called?Which language has been the standard way to talk to them for half a century?The extension?When people say 'the server crashed,' what is a server?

Quration — Quration AIQ