Compression Flashcards

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

What is lossless compression

A

No data is lost during compression

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

What is lossy compression

A

Some data is lost

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

When should lossy compression be used

A

On data that human perception wouldn’t notice

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

What is run length encoding

A

Removes unnecessary data by replacing repeated values with a count and then the value itself

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

What don’t dictionary based compression algorithms encode

A

Single symbols as variable length strings

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

What does dictionary based compression algorithms encode

A

Variable length strings of symbols as single tokens

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

When does compression occur in dictionary based compression

A

If the tokens are smaller than the phases they replace

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

What does dictionary based compression use to retrieve information

A

Indexes in databases to retrieve information from large amounts of storage

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

What is the format of dictionary based coding

A

X/Y
X = page in dictionary
Y = number of word on page

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

How many bytes per word in dictionary based compression

A

2.5

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

How many bytes per letter in ASCII

A

1

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