Data storage and compression Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

(Exam-style question)

Both kibibyte and kilobyte can be used as measures of file size.

Compare kibibyte and kilobyte. (2)

A

Any one from:

  • Kilobyte is an SI measurement, whereas kibibyte is an International Electrotechnical Commission (IEC) measurement
  • Kilobyte is equivalent to 1000 bytes, whereas a kibibyte is equivalent to 1024 bytes
  • Kilobyte is equivalent to 10³ bytes, whereas a kibibyte is equivalent to 2¹⁰ bytes
  • Kilobyte is a base 10 measurement, whereas a kibibyte is a base 2 measurement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Recall the conversions between binary multiples.

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

Recall the number of bytes represented by each of the following:

kilobyte, megabyte, gigabyte, terabyte

A
  • kilobyte (kB) - 10³
  • megabyte (MB) - 10⁶
  • gigabyte (GB) - 10⁹
  • terabyte (TB) - 10¹²
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Give some reasons for why file compression is used.

A
  • Less internet bandwidth is used when files are downloaded/uploaded
  • Transfer time is faster
  • Reduced file size / less storage space is needed
  • Smaller files reduce congestion on the internet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe the purpose of lossless compression.

A
  • Reduces file size without deleting any data
  • When compressed data is uncompressed, it is restored completely to the original file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe how lossless compression works.

A

Algorithms look for areas of redundancy where same data is stored many times, grouping this data into one reference

(this is an example of run-length encoding)

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

Give examples of where lossless compression is used successfully and where it is used less successfully.

A

Successful uses

  • Text files
  • Graphic files with a low colour depth

Less successful uses

  • Audio files
  • 24-bit colour files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the purpose of lossy compression.

A
  • Reduces file size by deleting some data
  • Changes made are irreversible and original form cannot be retrieved
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe how lossy compression works.

A
  • Image files - algorithms analyse image and find areas where there are slight differences, give these area same value and the file is rewritten with less bits
  • Digital sound recordings - small variations in frequency, tone and volume are removed, human ear cannot detect these small differences
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Give examples of where lossy compression is used successfully and where it is used less successfully.

A

Successful uses

  • Image files
  • Digital sound recordings

Less successful uses

  • Text files
  • Executable software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Give 2 examples of lossy algorithms.

A
  • JPEG
  • MP3
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

(Exam-style question)

A

3c3w2c6w3c

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