Save
...
1.3
Compression Encryption & Hashing
RLE & Dictionary Encoding
Save
Share
Learn
Content
Leaderboard
Learn
Created by
kayzz
Visit profile
Cards (13)
What are the two methods of lossless compression mentioned in the video?
Run
length encoding
and
dictionary
coding
View source
For what type of documents is dictionary coding ideal?
Text-based
documents
View source
What type of data is run length encoding more suited for?
Compression
of
images
View source
How does dictionary coding work?
It builds an
index
that records every data item along with a
unique code
View source
What does the compressed file consist of in dictionary coding?
The dictionary
index
and the sequence of
occurrences
View source
How does the original message size compare to the compressed size in dictionary coding?
The compressed message is
27%
of its original size
View source
How many characters are in the original message discussed in the video?
105
characters
View source
How many bits are used to store each character in the original message using 8-bit ASCII encoding?
8 bits
View source
How many bits are needed to store the numbers 1 to 17 in dictionary coding?
5
bits
View source
What is the total number of bits after compression for the sequence of occurrences in dictionary coding?
230 bits
View source
Why is run length encoding ideal for bitmap images?
It efficiently
compresses
images with many
contiguous
pixels of the
same
color
View source
How is the color depth represented in the example of run length encoding?
One bit for
black
and zero for
white
View source
What do frequency data pairs represent in run length encoding?
They indicate the number of
contiguous pixels
of a specific
color
View source