Data Compression Exam
Data Compression Exam
2. Information is the
(A) Data (B) meaningful data (C)raw data (D)Both A and B
3. In Huffman coding, data in a tree always occur in
(A) Leaves (B) Roots (C)Left sub trees (D)None of these
8. A Huffman encoder takes a set of characters with fixed length and produces a set of
characters of
(A) random length (B) fixed length (C)variable length (D)constant length
9. A Huffman code: A = 1, B = 000, C = 001, D = 01 , P(A) = 0.4, P(B) = 0.1, P(C) = 0.2,
P(D) = 0.3 The average number of bits per letter is
(A) 8.0 bit (B) 2.1 bit (C) 2.0 bit (D)1.9 bit
10. Which type of method is used is used to compress data made up of combination
of symbols?
(A) Run- length encoding (B) Huffman encoding
(C ) Lempel Ziv encoding (D) JPEG encoding
14. ______compression is generally used for applications that cannot tolerate any
difference between the original and reconstructed data.
(A) Lossy (B) Lossless (C) Both A and B. (D) None of these
16.The unit of information depends on the base of the log. If we use log base 2, the unit
is_________; if we use log base e, the unit is__________; and if we use log base 10, the
unit is_______________.
(A) Hartleys, nats, bits (B) Hartleys, bits, nats
(C) Bits, nats, hartleys (D) Bits, hartleys, nats
18.The set of binary sequences is called a , and the individual members of the set
are called_________________________.
(A) Codewords, code (B)Code, codeword (C) None of the above
20.Huffman codes are____codes and are optimum for a given model (set of probabilities).
(A) Parity (B) Prefix (C) Convolutional code (D)Block code
21. LZ78 has .... compression but very decompression than LZ77
(A) fast, slow (B) slow, fast (C) None of these Answer
25. LZ77 algorithm works on .......... data whereas LZ78 algorithm attempts to work on
……….data
(A) future, past (B) past, future (C) present, future (D) past, present
4. In LZW, the dictionary of phrases was defined by a fixed-length code of previously seen
text. ( )
5. In LZW with the initialization of the table being blanks. Compress : achieved by using
codes 259 through 4095 to represent sequence of bytes ( )
6. Use the LZW algorithm to compress the sequence: BABAABAAA the code for the
representing BA is 258 ( )
7. The adaptor: uses information's extra to the data to adapt the model (more or less)
continuously to the data ( )
8. A prefix code is a code system, typically a variable length code with the "prefix
property": there is no valid code word in the system that prefix (start) of any other valid
word in the set. ( )
9. Uncompressed audio and video files require less memory than compressed files ( )