Question: Suppose the symbols a, b, c, d, e occur with frequencies 1/2,1/4,1/8,1/16,1/16, respectively. (a) What is the Huffman encoding of the alphabet? (b) If this
Suppose the symbols a, b, c, d, e occur with frequencies 1/2,1/4,1/8,1/16,1/16, respectively.
(a) What is the Huffman encoding of the alphabet?
(b) If this encoding is applied to a file consisting of 1,000,000 characters with the given frequencies, what is the length of the encoded file in bits?
Step by Step Solution
3.51 Rating (154 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
