• edited by
24,196 views
78 78 votes

On a wireless link, the probability of packet error is $0.2$. A stop-and-wait protocol is used to transfer data across the link. The channel condition is assumed to be independent of transmission to transmission. What is the average number of transmission attempts required to transfer $100$ packets?

  1. $100$
  2. $125$
  3. $150$
  4. $200$

14 Answers

Best answer
95 95 votes
Consider that we have to send $N$ packets and $p$ is the error probability rate. Error rate $p$ implies that if we are sending $N$ packets then $N\times p$ packets will be lost and thus we have to resend those $N\times p$ packets. But the error is still there, so again while resending those $N\times p$ packets, $N\times p\times p$ will be further lost and so on. Hence, this forms a series as follows:

$N + N\times p + N \times p^2 + \ldots$
$=N(1 + p + p^2+\ldots$
$=\dfrac{N}{1-p} \text{(Sum to infinite GP series)}$

Now we are having $N=100$ and $p=0.2,$ which implies $125$ packets have to be sent on average.

Correct Answer: $B$
• edited by
45 45 votes
Total number of re-transmissions for one frame, in general, is $\dfrac{1}{(1-p)}$
where $p$ is the probability of error.

So here it would be

for one frame $\dfrac{1}{(1-0.2)}$

So for $100$ frames $\dfrac{100}{(0.8)}=125$
• edited by
21 21 votes
Let random variable X is 1 . (A function which map a packet to a real number 1)

And probability of it's success is given is 0.8..

E = 0.8 * 1 + 0.8 * 1 +... n_packest = 100   (we expect 100 packets to get transmitted successfully)

=> 0.8 * 1 * n_packet = 100

=> n_packet = 125...

So, if we transmit 125 packets then we can expect 100 packets got transmitted successfully!! And this is average number of transmission attempts required!!

 

So, option (B)
17 17 votes
I found this much simpler.

$N=>$   Total packets to be sent

$0.8*N=>$   Total packet to be sent successfully , each with probability of   $0.8$

So,

$0.8*N=100$

$N=125$

So total 125 attempts are required to send 100 packets if probability of success of each packet is $0.8$
14 14 votes

Given-

  • Probability of packet error = 0.2
  • We have to transfer 100 packets

 

Now,

  • When we transfer 100 packets, number of packets in which error will occur = 0.2 x 100 = 20.
  • Then, these 20 packets will have to be retransmitted.
  • When we retransmit 20 packets, number of packets in which error will occur = 0.2 x 20 = 4.
  • Then, these 4 packets will have to be retransmitted.
  • When we retransmit 4 packets, number of packets in which error will occur = 0.2 x 4 = 0.8 ≅ 1.
  • Then, this 1 packet will have to be retransmitted.

 

From here, average number of transmission attempts required = 100 + 20 + 4 + 1 = 125.

Option (B) is correct.

3 3 votes

Using Binomial distribution we can solve this question.

If we send N packets then, expected number of successful(error free) transmission will be  N*0.8 (Expectation of binomial distribution=NP, where N= no. of trials and P=probability of success) .

We need to send 100 packets successfully, So,  N *0.8 =100 .... or, N= 100/0.8 = 125  Answer B

Hence if we send 125 packets then , expected number of error free packets will be 100.

Answer:
Position:
Show:

Related questions

96 96 votes
7 answers 7 answers
23.3k
23.3k views
Ishrat Jahan asked Nov 1, 2014
23,256 views
Suppose that it takes $1$ unit of time to transmit a packet (of fixed size) on a communication link. The link layer uses a window flow control protocol with a window size...
93 93 votes
11 answers 11 answers
22.6k
22.6k views
Ishrat Jahan asked Nov 1, 2014
22,632 views
A subnetted Class $B$ network has the following broadcast address: $144.16.95.255$Its subnet maskis necessarily $255.255.224.0$is necessarily $255.255.240.0$is necessaril...
61 61 votes
11 answers 11 answers
23.7k
23.7k views
Ishrat Jahan asked Nov 1, 2014
23,651 views
A program on machine $X$ attempts to open a $UDP$ connection to port $5376$ on a machine $Y$, and a $TCP$ connection to port $8632$ on machine $Z$. However, there are no ...
69 69 votes
13 answers 13 answers
20.2k
20.2k views
Ishrat Jahan asked Nov 1, 2014
20,198 views
A link of capacity $100$ $\text{Mbps}$ is carrying traffic from a number of sources. Each source generates an on-off traffic stream; when the source is on, the rate of tr...