Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2017 Set 2
Questions

Q50

NAT2 marksAlgorithms

A message is made up entirely of characters from the set X={P,Q,R,S,T}X=\{P, Q, R, S, T\}. The table of probabilities for each of the characters is shown below:

CharacterProbability P0.22Q0.34R0.17S0.19T0.08Total1.00\begin{array}{|c|c|}\hline \textbf{Character} & \textbf{Probability } \\\hline {P} & {0.22} \\ {Q} & {0.34} \\ {R} & {0.17} \\ {S} & {0.19} \\ {T} & {0.08} \\ \hline\text{Total} & {1.00} \\\hline \end{array}

If a message of 100100 characters over XX is encoded using Huffman coding, then the expected length of the encoded message in bits is ______.

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.