Paper 1, Section I, I
(a) Briefly describe the methods of Shannon-Fano and of Huffman for the construction of prefix-free binary codes.
(b) In this part you are given that , and .
Let . For , suppose that the probability of choosing is .
(i) Find a Shannon-Fano code for this system and the expected word length.
(ii) Find a Huffman code for this system and the expected word length.
(iii) Verify that Shannon's noiseless coding theorem is satisfied in each case.
Typos? Please submit corrections to this page on GitHub.