1 votes 1 votes A text is made up of the characters A, B, C, D, E each occurring with the probability 0.08, 0.40, 0.25, 0.15 and 0.12 respectively. The optimal coding will have the average length of 2.4 1.87 3.0 2.15 Probability ugcnetcse-july2018-paper2 probability binary-tree data-structures + – Pooja Khatri asked Jul 13, 2018 • recategorized Oct 15, 2018 by Pooja Khatri Pooja Khatri 3.0k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes $A - 1110$ $B - 0$ $C - 10$ $D - 110$ $E - 1111$ Avg length = $ 4 * (0.08) + 1*(0.4) + 2*(0.25) + 3*(0.15) + 4*(0.12)$ = 2.15 Mk Utkarsh answered Jul 13, 2018 • edited Jul 20, 2018 by Mk Utkarsh Mk Utkarsh comment Share Follow See all 3 Comments See all 3 3 Comments reply sunnykg commented Jul 20, 2018 reply Follow Share Bro your concept is right...but u have done wrong calculation PLEASE CHECK ANSWER IS 2.15 i.e OPTION 4 0 votes 0 votes Mk Utkarsh commented Jul 20, 2018 reply Follow Share Corrected. Thanks 0 votes 0 votes Nukku commented Sep 21, 2019 reply Follow Share Any other technique to solve this problem? 1 votes 1 votes Please log in or register to add a comment.