Question: 2. Huffman Coding. a. What is a prefix code? How can one build a prefix code? b. What is a Huffiman code? c. Consider

2. Huffman Coding. a. What is a prefix code? How can one build a prefix code? b. What is a Huffiman code? c. Consider the following text: "a fast runner need never be afraid of the dark". Build a Huffman code for this text. d. Compute the length of this text under Huffman coding. e. Compute the length of this text under fixed length binary coding.
Step by Step Solution
3.51 Rating (161 Votes )
There are 3 Steps involved in it
a A prefix code is a type of code in which no code word is a prefix of any other code word In other words there is no ambiguity in decoding the encode... View full answer
Get step-by-step solutions from verified subject matter experts
