1.3 storage and compression Flashcards

1
Q

how is storage measured (units?)

A

bit (b)
nibble
byte (B)
kibibyte (KiB)
gibibyte (GiB)
tebibyte (TiB)
pebibyte (PiB)
exbibyte (EiB)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

how is file size of an image file calculated

A

resolution (pixels) * colour depth (bits)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how is file size of sound file calculated

A

sample rate (Hz) * resolution (bits) * length of track (s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

benefits of compression

A
  • less storage space required
  • less bandwidth required (faster loading)
  • shorter transmission time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what are the types of compression

A

lossy and lossless

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

how does lossy compression work

A

reduces file size by permanently removing data from original source file

eg reduce resolution/colour depth, reduce sample rate/resolution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how does lossless compression work

A

reduce file size without permanent loss of data

compression algorithm used, eg RLE (finding groups of repeating data and only storing them once)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

disadvantage of lossy compression

A

lower quality files as some data lost

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

disadvantage of lossless compression

A

if file has little or no repeated data, compression larger than original

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what are raw files

A

files with no compression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly