Data storage and compression unit 3 Flashcards
(11 cards)
What is the smallest unit of data storage in computing?
A bit.
How many bits are in a nibble and a byte?
Nibble = 4 bits, Byte = 8 bits
What is the difference between kilobytes (kB) and kibibytes (KiB)?
- kB = 1,000 bytes (decimal - 10³)
- KiB = 1,024 bytes (binary - 2¹⁰)
Name the binary data units (IEC standard) in order.
- KiB (2¹⁰ = 1024 bytes)
- MiB (2²⁰)
- GiB (2³⁰)
- TiB (2⁴⁰)
Name the decimal data units (SI standard) in order.
- kB (10³)
- MB (10⁶)
- GB (10⁹)
- TB (10¹²)
Why is data compression used?
To reduce file size for faster transmission and less storage space.
What is lossy compression?
Compression where some data is permanently removed to reduce size (e.g. JPEG, MP3).
What is lossless compression?
Compression where no data is lost, and the file can be restored exactly.
Give one example of a lossless compression method.
Run-Length Encoding (RLE).
How does Run-Length Encoding work?
It replaces repeated values with a single value and a count of how many times it repeats.
How is file storage measured?
In bytes and its multiples like kB, MB, GB, TB or KiB, MiB, GiB, TiB.