Data Storage & Compression Flashcards
How many bits are in a byte?
8 bits.
How many bytes are in a Kibibyte?
1024 bytes
What is the difference between a megabyte and a mebibyte?
A megabyte is 1000 squared bytes, while a mebibyte is 1024 squared bytes.
True or False?
When converting between units larger than a byte, we use multiples of 1000.
False.
When converting between units larger than a byte, we use multiples of 1024 (2^10).
What is a Tebibyte?
1,099,511,626,776 bytes (2^40 bytes).
How do you convert from bytes to bits?
multiply by 8.
How do you convert from kibibytes to bytes?
multiply by 1024.
What is the formula for calculating the size of a bitmap image?
Resolution x color depth
or
Image width x image height x color depth
True or False?
A color depth of 24 bits is equal to 3 bytes.
True.
A color depth of 24 bits is equal to 3 bytes.
What is the formula for calculating the size of a sound file?
Sample rate x duration x sample resolution.
Define sample rate.
Sample rate is the number of samples taken per second in a digital audio recording.
Define sample resolution.
Sample resolution is the number of bits stored per sample in a digital audio recording.
How do you convert file size from bits to bytes?
divide by 8
How do you convert file size from bytes to kibibytes?
divide by 1024
Define compression
Compression is reducing the size of a file so that it takes up less space on secondary storage.