Storage and Compression

Compression reduces file size so files take up less storage and send faster. You will compare lossy compression, which permanently removes data (for example JPEG), with lossless compression, and revise storage units up to the terabyte.

Key terms

Compression
Reducing the size of a file.
Lossy compression
Permanently removes some data to make the file smaller, so quality is lost. JPEG and MP3 are examples.
Lossless compression
Reduces file size without losing any data, so the original can be restored exactly.
Run-length encoding (RLE)
A lossless method that stores repeated values as a count and a value.
Storage units
Bit, nibble, byte, kibibyte, mebibyte, gibibyte, tebibyte. Each is 1024 times larger than the one before.

Part of Data Representation.