# A) Create the Huffman codes with 2 bit characters for the letters

Content type
User Generated
Rating
Showing Page:
1/2
a) Create the Huffman codes with 2 bit characters for the
letters a, b, c, d, e, f with probabilities 0.07, 0.09, 0.12,
0.22, 0.23, 0.27, respectively.
b) Either explain why you think this method is better than 1
bit characters, or explain why you feel that it is worse.
a) Create the Huffman codes with 2 bit characters for the
letters a, b, c, d, e, f with probabilities 0.07, 0.09, 0.12,
0.22, 0.23, 0.27, respectively.
b) Either explain why you think this method is better than 1
bit characters, or explain why you feel that it is worse.
b) Either explain why you think this method is better than 1
bit characters, or explain why you feel that it is worse.
Solution
Huffman Code are a=1111
b =1110
c=110
d=00
e=01

Showing Page:
2/2

Unformatted Attachment Preview
a) Create the Huffman codes with 2 bit characters for the letters a, b, c, d, e, f with probabilities 0.07, 0.09, 0.12, 0.22, 0.23, 0.27, respectively. b) Either explain why you think this method is better than 1 bit characters, or explain why you feel that it is worse. a) Create the Huffman codes with 2 bit characters for the letters a, b, c, d, e, f with probabilities 0.07, 0.09, 0.12, 0.22, 0.23, 0.27, respectively. b) Either explain why you think this method is better than 1 bit characters, or explain why you feel that it is worse. b) Either explain why you think this method is better t ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

### Review

Anonymous
Really useful study material!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4