Skip to content

ISRO Scientist/Engineer CSE 2018Computer Networks › Transport Layer (TCP and Flow Control)

ISRO Scientist/Engineer CSE 2018 PYQ: Station$A$ uses 32 byte packets to transmit messages to Station $B$ using a sliding window protocol. The…

Station$A$ uses 32 byte packets to transmit messages to Station $B$ using a sliding window protocol. The round trip delay between $A$ and $B$ is 80 $ms$ and the bottleneck bandwidth on the path between $A$ and $B$ is 128 $kbps$. What is the optimal window size that $A$ should use?

  1. A
    20
  2. B
    40
    Correct answer
  3. C
    160
  4. D
    320

Answer

(B) $40$

Approach

Packet size = 32 bytes = 32 × 8 = 256 bits. Bottleneck bandwidth = 128 kbps = 128 × 10³ bits/s (using $2^{10}-based$ units gives 131072 bps, which yields the same rounded-to-option value). Transmission time per packet Tt = 256 / (128 × 10³) = 2 × 10⁻³ s = 2 ms. The link's bandwidth-delay product (the amount of data that can be 'in flight' during one round-trip time) is Bandwidth × RTT = 128 × 10³ bps × 80 × 10⁻³ s = 10240 bits. Converting to packets: 10240 / 256 = 40 packets. Equivalently, Window = RTT / Tt = 80 ms / 2 ms = 40. A window of 40 packets lets A keep transmitting continuously until the first acknowledgement returns, so the pipe never goes idle—this is exactly the optimal (maximum-throughput) window. Checking the distractors: 20 is half the required window and would idle the link half the time; 160 and 320 exceed the bandwidth-delay product, so they would only add unnecessary buffering without improving throughput. (A common variant of this problem uses the utilization formula W = 1 + 2a with a = one-way propagation delay / Tt = 40/2 = 20, which gives 41; that '1+' accounts for the ACK-boundary packet and is not among the options here, confirming the intended bandwidth-delay-product reading.) The answer is therefore 40 packets, option B.

Reviewed by ISRO IQ Editorial Team.