Suppose that in a long bit string the frequency of


Suppose that in a long bit string the frequency of occurrence of a 0 bit is 0.9 and the frequency of a 1 bit is 0.1 and bits occur independently.

a) Construct a Huffman code for the four blocks of two bits, 00, 01, 10, and 11. What is the average number of bits required to encode a bit string using this code?

b) Construct a Huffman code for the eight blocks of three bits. What is the average number of bits required to encode a bit string using this code?

Request for Solution File

Ask an Expert for Answer!!
Mathematics: Suppose that in a long bit string the frequency of
Reference No:- TGS01550189

Expected delivery within 24 Hours