Lossless compression Flashcards

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

Run Length Encoding (RLE)

A

Rather than recording every pixel in a sequence, it records its value and the number of times it repeats.

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

Dictionary-based compression techniques

A

Compression algorithm searches through the text to find suitable entries in its own dictionary and translates the message accordingly.

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

“Do unto others as you would have others do unto you” can be compressed as?

A

1 2 3 4 5 6 7 3 8 2 5 or in binary using 33 bits, this compares to 51 characters or 51 bytes - a reduction of 92%.

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

What is compressed text stored with? And thus is dictionary- based compression worth it?

A

A dictionary (table of entries and binary numbers/characters), but with a longer body of text to be compressed, a dictionary becomes quite insignificant in size compared with the original and the original message can still be.

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