Skip to content

GATE CS 2017 Set 1 Q45 — Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets

Explain with AI

The values of parameters for the Stop-and-Wait ARQ protocol are as given below:

  • Bit rate of the transmission channel =1= 1 Mbps.
  • Propagation delay from sender to receiver =0.75= 0.75 ms.
  • Time to process a frame =0.25= 0.25 ms.
  • Number of bytes in the information frame =1980= 1980.
  • Number of bytes in the acknowledge frame =20= 20.
  • Number of overhead bytes in the information frame =20= 20.


Assume there are no transmission errors. Then, the transmission efficiency (expressed in percentage) of the Stop-and-Wait ARQ protocol for the above parameters is _____________ (correct to 22 decimal places).

View worked solution

Answer: 86.5 : 89.5

To find the transmission efficiency of the Stop-and-Wait ARQ protocol, we first calculate the total time (TtotalT_{\text{total}}) required for one complete cycle.

1. Calculate individual time components:

  • Transmission delay of the information frame (Ttx_infoT_{tx\_info}):
    Ttx_info=Frame sizeBandwidth=1980×8 bits106 bps=15.84 msT_{tx\_info} = \frac{\text{Frame size}}{\text{Bandwidth}} = \frac{1980 \times 8 \text{ bits}}{10^6 \text{ bps}} = 15.84 \text{ ms}
  • Propagation delay (TpT_p): 0.75 ms0.75 \text{ ms} (one-way, so it occurs twice: once for the frame and once for the ACK)
  • Processing delay (TprocT_{proc}): 0.25 ms0.25 \text{ ms}
  • Transmission delay of the ACK frame (Ttx_ackT_{tx\_ack}):
    Ttx_ack=20×8 bits106 bps=0.16 msT_{tx\_ack} = \frac{20 \times 8 \text{ bits}}{10^6 \text{ bps}} = 0.16 \text{ ms}

2. Calculate the total cycle time (TtotalT_{\text{total}}):

Ttotal=Ttx_info+Tp+Tproc+Ttx_ack+TpT_{\text{total}} = T_{tx\_info} + T_p + T_{proc} + T_{tx\_ack} + T_p Ttotal=15.84+0.75+0.25+0.16+0.75=17.75 msT_{\text{total}} = 15.84 + 0.75 + 0.25 + 0.16 + 0.75 = 17.75 \text{ ms}

3. Calculate efficiency (η\eta):

Depending on whether overhead is excluded or included, we have two standard interpretations:

  • Case A: Excluding overhead (Useful data only)
    Useful payload =1980−20=1960 bytes= 1980 - 20 = 1960 \text{ bytes}.
    Useful transmission time (TusefulT_{\text{useful}}) =1960×8 bits106 bps=15.68 ms= \frac{1960 \times 8 \text{ bits}}{10^6 \text{ bps}} = 15.68 \text{ ms}.
    η=TusefulTtotal×100=15.6817.75×100≈88.34%\eta = \frac{T_{\text{useful}}}{T_{\text{total}}} \times 100 = \frac{15.68}{17.75} \times 100 \approx 88.34\%
  • Case B: Including overhead (Entire information frame)
    η=Ttx_infoTtotal×100=15.8417.75×100≈89.24%\eta = \frac{T_{tx\_info}}{T_{\text{total}}} \times 100 = \frac{15.84}{17.75} \times 100 \approx 89.24\%

Both interpretations are valid, and both values (88.34%88.34\% and 89.24%89.24\%) lie comfortably within the official GATE range of 86.5% to 89.5%.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets questions