3.3: data storage and compressions Flashcards
1
Q
kilobyte
A
1000 kB
2
Q
megabyte
A
1000² MB
3
Q
gigabyte
A
1000³ GB
4
Q
terabyte
A
1000⁴ TB
5
Q
kibibyte
A
1024 KiB
6
Q
mebibyte
A
1024² MiB
7
Q
gigibyte
A
1024³ GiB
8
Q
tebibyte
A
1024⁴ TiB
9
Q
compression methods
A
lossless
lossy
10
Q
advantages of data compression
A
makes storage more efficient
allows you to upload and download files faster
11
Q
lossless compression
A
do not lose any data
data can be reversed to what it was before
use shorthand to store data
12
Q
examples of lossless compression
A
ZIP file
RLE (run length encoding)
13
Q
ZIP file
A
if you add files to a ZIP they take up less space but are exactly the same when you unzip them
14
Q
RLE
A
RLE encodes data items and how long it runs
15
Q
example of RLE
A
55555511111333
turns into:
(6 5) (5 1) (7 3)