All Exams Test series for 1 year @ ₹349 only
Question

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) ?

This question was previously asked in
UGC NET 2016 Paper 1 Question Paper (10-Jul-2016)
The correct answer is

b a a b

LZ (Lempel–Ziv–Welch) coding builds its dictionary while reading: it extends the current match w by the next symbol c; if wc is already a word it continues, otherwise it outputs w, adds wc as a new word and restarts with w = c.

Step 1 — Start with the dictionary {a, b} and trace the input a b b a a b b a a b:

Current wNext cwc in dictionary?New word added
abnoab
bbnobb
banoba
aanoaa
abyes (w = ab)—
abbnoabb
bayes (w = ba)—
baanobaa
abyes (w = ab), input ends—

Step 2 — The final dictionary is {a, b, ab, bb, ba, aa, abb, baa}.

The words ab, bb and ba are all created during the trace, while the four-symbol string baab is never added — the longest new words are only three symbols long.

b a a b option is correct.

Was this answer helpful?

Similar Questions

  1. Which of the following categories of languages do not refer to animation languages ?

  2. Which of the following steps is/are not required for analog to digital conversion ?

    (a) Sensing    (b) Conversion    (c) Amplification

    (d) Conditioning    (e) Quantization

    Codes :

  3. Which of the following is not a lossy compression technique ?

  4. The process of dividing an analog signal into a string of discrete outputs, each of constant amplitude, is called :

  5. FFTs are _________ techniques used to encode digital video and audio information and helps analyse the signal in ____________domain.


Important Questions from Multimedia - Teaching

  1. Which of the following categories of languages do not refer to animation languages ?

  2. ______ is used to reduce the size of multimedia files

  3. AIFF (.aif, .aiff, .aifc) file format is mainly used for _________.
  4. Which of the following steps is/are not required for analog to digital conversion ?

    (a) Sensing    (b) Conversion    (c) Amplification

    (d) Conditioning    (e) Quantization

    Codes :

  5. Which of the following is not a lossy compression technique ?

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) 2026 Mock Test Series
796 Tests 2 Tests Free
4.4(40)
English
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App