1.3 Data Storage and Compression Flashcards
What are the 9 units of measuring data?
Bit
Nibble
Byte
Kibibyte
Mebibyte
Gibibyte
Tebibyte
Pebibyte
Exbibyte
How Bits many are in a nibble?
4
How Bits many are in a Byte?
8
From Kibibyte to Exbibyte what is the amount needed to reach the next unit?
E.g. kibibyte to Mebibyte
1024 needed for every step
What does Compression do?
Compression exists to reduce the size of the file
Name all four benefits of compressing a file.
- not as much storage space needed to store the file
- it will take less time to transmit the file from one device to another
- it will be quicker to upload and download the file
- Not as much bandwidth is needed to transmit the file over the internet
What are the two types of compression?
lossy and lossless
What is the difference between how lossy and lossless compress data?
lossy reduces file size by PERMANENTLY removing data while lossless reduces file size by TEMPORARILY altering the data
What are some examples of unnecessary data that lossy can remove in an image file?
Unnecessary data that is removed are colors the eye cannot distinguish. This means that a lossy compression algorithm for an image file could reduce the size of the file by reducing the color depth. It could also reduce the size of the file by reducing the image resolution, reducing the number of pixels used to create the image
What is perceptual music shaping?
a process that is used in lossy compression that removes sound that cannot be normally heard by the human ear
What is run-length encoding (RLE)?
run-length encoding (RLE) is an algorithm that groups together repeating patterns and indexes them