edited by
5,514 views
1 votes
1 votes

A text is made up of the characters $\alpha, \beta, \gamma, \delta$ and $\sigma$ with the probability $0.12, 0.40, 0.15, 0.08$ and $0.25$ respectively. The optimal coding technique will have the average length of 

  1. $1.7$
  2. $2.15$ 
  3. $3.4$
  4. $3.8$ 
edited by

2 Answers

Best answer
6 votes
6 votes

Answer : B
Alpha=.12      Beta=.40      Gamma=.15      Delta=.08      Sigma=.25     (All are given in question)
Path length with 4= Alpha, Delta. (.48+.32)
Path length with 3= gamma.(.45).
Path length with 2=sigma..(.50).
Path length with 1= beta(.40).
Average path length=2.15 .

selected by
1 votes
1 votes

We arrange the characters in ascending order according to its Probabilities

So the path length of   α=4, β=1,γ=3,δ=4 and  σ=2

The optimal path length =(4x0.12)+(1x0.40)+(3x0.15)+(4x0.08)+(2x0.25)

i.e 2.15

hence ans is B

Answer:

Related questions

4.0k
views
2 answers
0 votes
rpdhakad asked Jul 12, 2015
3,956 views
Given code word $1110001010$ is to be transmitted with even parity check bit. The encoded word to be transmitted for this code is$11100010101$11100010100$1110001010$111000101$
1.9k
views
2 answers
0 votes
makhdoom ghaya asked Jun 27, 2016
1,916 views
SET, an open encryption and security specification model that is designed for protecting credit card transactions on ... Electronic TransactionSecular Enterprise for TransactionSecurity Electronic TransmissionSecured Electronic Termination
2.9k
views
1 answers
1 votes
makhdoom ghaya asked Jun 27, 2016
2,866 views
Match the following with respect to the mobile computing technologies $:$\begin{array}{cIcI} & \textbf{List-I} & & \textbf{List-II} \\ \text{a.} & \text{GPRS} & \text{i.} & \text{ ... {a-ii; b-iii; c-iv; d-i}$\text{a-ii; b-i; c-iv; d-iii}$
4.2k
views
2 answers
3 votes
makhdoom ghaya asked Jun 8, 2016
4,207 views
Match the following $:$\begin{array}{cIcI} & \textbf{List - I} && \textbf{List - II} \\ \text{a.} & \text{Physical layer} & \text{i.} & \text{Allow resources to network access} \\ ... ; c-ii; d-v; e-iv}$\text{a-i; b-ii; c-iv; d-iii; e-v}$