10,671 views
1 votes
1 votes
A system uses the Stop-and-Wait Protocol. If each packet carries 1000 bits of
data, how long does it take to send 1 million bits of data if the distance between the
sender and receiver is 5000 Km and the propagation speed is 2 x 108 m/s? Ignore transmission,
waiting, and processing delays. We assume no data or control frame is lost
or damaged.

1 Answer

Best answer
6 votes
6 votes

Packet size = 103 bits

Total data to be transmitted = 10bits

Therefore, number of packets to be transmitted = 10/ 103 = 1000

Propagation delay for one packet = Distance / Propagation speed = (5 * 106) / (2*108)  = 0.025 s

Propagation delay for one ACK = Distance / Propagation speed = (5 * 106) / (2*108)  = 0.025 s

Here, transmission delay is 0.

So, Total time to transmit one packet and receive its ACK = 2 * 0.025 = 0.05 s

Therefore, total time to transmit 1000 packets = 1000 * 0.05 = 50 s

selected by

Related questions

0 votes
0 votes
2 answers
1
shebya nautiyal asked Mar 16, 2017
465 views
link utilization= w/(1+2a) where w is window size and a= propogation delay/transmission delay. But when link is full duplex then also formula for link utilization remain ...
0 votes
0 votes
1 answer
2
shebya nautiyal asked Mar 8, 2017
228 views
when packet is lost or discarded where does it actually go?