DC MCQ Unit-02
DC MCQ Unit-02
DC MCQ Unit-02
1. Huffman codes are codes and are optimum for a given model (set of
probabilities).
A. Parity
B. Prefix
C. Convolutional code
D. Block code
Correct option is B
4. How many printable characters does the ASCII character set consists of?
A. 128
B. 100
C. 98
D. 90
Correct option is B
5. The difference between the entropy and the average length of the
Huffman code is called
A. Rate
B. Redundancy
C. Power
D. None of these
Correct option is B
6. Unit of redundancy is
A. bits/second
B. symbol/bits
C. bits/symbol
D. none of these
Correct option is C
9. Bits are needed for standard encoding if the size of the character set is X
A. X+1
B. log(X)
C. X2
D. 2X
Correct option is B
A. Leaves
B. Roots
C. Left sub trees
D. None of these
Correct option is A
A. True
B. False
Correct option is A
16. In the Tunstall code, all codewords are of However, each codeword
represents a number of letters.
A. different, equal
B. equal, different
C. none of these
Correct option is B
23. 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
Correct option is C