Programming in C MCQ - Master Assignment
Using Hofman's algorithm, code for a is 1111; b is 0; c is 110 ; d is 1110
Average code length = 4 x .12 + 1 x .4 + 3 x .15 + 4 x .08 + 2 x.25 = 2.15
Saved in this browser. Nothing changes for anyone else.