Question: Given the message AACCCBCCDDAB, in which the probabilities of symbols are P(A) = 0.50, P(B) = 0.25, P(C) = 0.125, and P(D) = 0.125, a.
Given the message “AACCCBCCDDAB”, in which the probabilities of symbols are P(A) = 0.50, P(B) = 0.25, P(C) = 0.125, and P(D) = 0.125,
a. encode the data using Huffman coding.
b. find the compression ratio if each original character is represented by 8 bits.
Step by Step Solution
3.38 Rating (167 Votes )
There are 3 Steps involved in it
The following shows the Huffman tree and the coding table a Using the table ... View full answer
Get step-by-step solutions from verified subject matter experts
