...
Theory-of-Computation
November 27, 2023
Operating-Systems
November 28, 2023
Theory-of-Computation
November 27, 2023
Operating-Systems
November 28, 2023

Image-Processing

Question 1
From the given data below :
a b b a a b b a a b
which one of the following is not a word in the dictionary created by LZ-coding (the initial words are a, b)?
A
a b
B
b b
C
b a
D
b a a b
E
None of the above
Question 1 Explanation: 
Lempel–Ziv–Welch is a universal lossless data compression algorithm created by Abraham Lempel, Jacob Ziv, and Terry Welch
abbaabbaab
⇒ Dictionary created by L2 – coding will contain words:
a | b | ba | ab | baa | b
b – already present in dictionary
So the words are a, b, ba, ab, baa.
⇒ Hence ‘B’ and ‘D’ both are not present in the dictionary.
Note: (B) and (D) is correct answers
Correct Answer: E
Question 1 Explanation: 
Lempel–Ziv–Welch is a universal lossless data compression algorithm created by Abraham Lempel, Jacob Ziv, and Terry Welch
abbaabbaab
⇒ Dictionary created by L2 – coding will contain words:
a | b | ba | ab | baa | b
b – already present in dictionary
So the words are a, b, ba, ab, baa.
⇒ Hence ‘B’ and ‘D’ both are not present in the dictionary.
Note: (B) and (D) is correct answers

Leave a Reply

Your email address will not be published. Required fields are marked *