unit 1.3 Data storage and compression Flashcards
Data measurement units
Bit- This is the smallest measurement of data.
Nibble- There are 4 bits in a nibble
Byte- There are 8 bits in a byte
Kibibyte- There are 1024 bytes in a Kibibyte.
Mebibyte- There are 1024 kibibytes in Mebibyte.
Gibibyte- There are 1024 Mebibytes in a Gibibyte.
Tebibyte- There are 1024 Gibibytes in a tebibyte.
Pebibyte- There are 1024 Tebibytes in a Pebibyte.
Exbibyte- There are 1024 Pebibytes in a Exbibyte.
Calculate image file
width of image x height of image x color depth of image x number of images in a file.
Calculate sound file
sample rate x sample resolutiom x length of soundtrack
what is compression used for?
to reduce the size of the file
What are the impacts of reducing the size of the file?
- Less bandwidth required
- Less storage space required
- Shorter transmission time
lossless compression
Reduces the file size without permanent loss of data. E.g run length encoding ( An algorithm that groups together repeating patterns and indexes them)
Lossy compression
Reduces the file size by permanently removing data. E.g Reducing resolution or color depth