Save
...
Exchanging Data
Compression, Encryption and Hashing
Run length encoding and Dictionary encoding
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Theo
Visit profile
Cards (18)
What are the two main types of compression discussed?
Lossy
and
lossless
compression
View source
What are the two methods of lossless compression mentioned?
Run length encoding
and
dictionary coding
View source
What type of documents is dictionary coding ideal for?
Text-based documents
View source
What type of files is run length encoding more suited for?
Bitmap images
View source
How does dictionary coding allow for file recreation?
By encoding data with an
index
and
unique
code
View source
What does the compressed file consist of in dictionary coding?
The
dictionary index
and sequence of
occurrences
View source
How many bits are used per character in 8-bit ASCII encoding?
8
bits
View source
How many bits are needed to store numbers 1 to 17?
5
bits
View source
What is the main advantage of dictionary coding?
It allows
recreation
of the entire message
View source
What are bitmap images made up of?
Discrete pixels
View source
Why is storing binary for each pixel inefficient?
Many
contiguous
pixels have the same color
View source
What color depth is used for the example with two colors?
One
bit
View source
What do frequency data pairs represent in run length encoding?
Contiguous
pixels
of the same
color
View source
What does a frequency data pair like "22 0" indicate?
22
contiguous
white pixels
View source
How do run length encoding and dictionary coding differ in application?
Run length encoding: Ideal for
bitmap images
Dictionary coding: Ideal for
text-based documents
View source
What are the key components of dictionary coding?
Dictionary index
Sequence of occurrences
Unique codes
for data items
View source
What are the steps to recreate an original file using dictionary coding?
Use the
dictionary index
Follow the
sequence of occurrences
Reconstruct the original data
View source
What are the advantages of lossless compression techniques?
Original quality is
preserved
Efficient
storage
of data
Suitable for various file types
View source