Compression & TS&I Flashcards

(9 cards)

1
Q

What is colour depth?

A

Colour depth is the number of bits stored per pixel in a bitmap image

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

What is the impact of resolution and colour depth?

A

As the resolution and/or colour depth increases, the bigger the size of the file becomes on secondary storage
The higher the resolution, the more pixels are in the image, the more bits are stored
The higher the colour depth, the more bits per pixel are stored

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

Effects of compression

A

1 Less storage space required

#2 Less bandwidth required
#3 Shorter transmission time

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

Lossy compression

A

Lossy compression is when data is lost in order to reduce the size on secondary storage
Lossy compression is irreversible

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

Lossy & Lossless Text Files:

A

Lossy: ❌ Not suitable. Lossy methods remove data that cannot be recovered, which would change characters or corrupt the file.

Lossless: ✅ Used. Repeated patterns or characters are replaced with shorter representations using RLE. The original text can be restored exactly.

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

Lossy & Lossless Image Files:

A

Lossy: ✅ Used. Removes less important colour data and fine detail that the human eye is unlikely to notice. File size greatly reduced, but some image quality is permanently lost.

Lossless: ✅ Used. Identical pixels or repeating patterns are stored efficiently without losing data. File size smaller than original, but larger than lossy.

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

Lossy & Lossless Sound Files:

A

✅ Used. Removes frequencies outside human hearing range or quiet sounds masked by louder ones. Smaller files, but audio quality slightly reduced.

✅ Used when high quality is needed. Compresses by finding repeating patterns in the binary data without deleting any sound information. Original sound can be restored exactly

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

Lossless

A

Lossless compression is when data is encoded in order to reduce the size on secondary storage.
Lossless compression is reversible, the file can be returned to its original state.

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

What is RLE (Run-Length-Encoding)

A

Lossless compression method.
Reduces file size by replacing sequences of repeated data with a single data/value & count.

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