+1 vote
217 views

A datagram network allows routers to drop packets whenever they need to. The probability of a router discarding a packet is p. Consider the case of a source host connected to the source router, which is connected to the destination router, and then to the destination host. If either of the routers discards a packet, the source host eventually times out and tries again. If both host-router and router-router lines are counted as hops, what is the mean number of hops a packet makes per transmission?

1. $p^2-3p+3$
2. $p^2+3$
3. $3p+3$
4. $p+3$
asked
edited | 217 views
0
Ans b?
0
Getting C as the answer
0
Can you send solutions?
0
First let me know whether it is correct or not
0
Correct answer is given to be A
0

## 2 Answers

+1 vote
Best answer
Each  packet  may make 1, 2 or 3 hops. For 1 hop,  the  first  router  drops it and the  probability  is p.  For 2 hops,  it goes  through first router but not the second and the probability is $(1-p)p$.  For 3 hops,  it goes through both routers and the  probability is $(1-p)(1-p)$.
Mean hops  per transmission is given by

$1*p + 2*(1-p)p + 3*(1-p)(1-p)$ which simplifies to $p^2 - 3p +3$

A is the correct option!
answered by Active (4.9k points)
selected
+2 votes
answered by Boss (25.3k points)
Answer:

0 votes
1 answer
1
0 votes
1 answer
3
+2 votes
1 answer
4
+1 vote
1 answer
5
0 votes
3 answers
6
0 votes
1 answer
7