1 You have the following distribution of symbols in an alpha

1. You have the following distribution of symbols in an alphabet. Show the Huffman code that would be used for this alphabet. What’s the problem?

A, 0.2
B, 0.2
C, 0.2
D, 0.2
E, 0.2

Solution

A->000

B->001

C->010

D->011

E->100

THE CODE IS ->000 001 010   011 100 ,(0.2)^5

THE PROBLEm Is with 0.2 as it is not in whole number so we will power it with number of times it appears.

1. You have the following distribution of symbols in an alphabet. Show the Huffman code that would be used for this alphabet. What’s the problem? A, 0.2 B, 0.2

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site