CS FundamentalsVery hardGATE CS (PYQ pattern)
A link has a bandwidth of 1 Mbps, a one-way propagation delay of 20 ms and frames of 1000 bits (ACK transmission time negligible). The Selective Repeat protocol must keep the link fully utilised. The minimum number of sequence-number bits required is:
- A. 5
- B. 6
- C. 7
- D. 8
Correct answer: C. 7
Transmission time is 1 ms and RTT is 40 ms, so the window needed for full utilisation is 1 + 40 = 41 frames. Selective Repeat needs 2W = 82 sequence numbers, so 7 bits; Go-Back-N would need only W + 1 = 42, i.e. 6 bits.
More Computer Networks questions
- A 4000-byte IP datagram (20-byte header, no options) is sent over a link with MTU 1500 bytes. Considering the last fragment, the fragment…
- A message 110101 is protected with CRC using the generator polynomial x³ + x + 1. The codeword transmitted is:
- A CSMA/CD Ethernet runs at 100 Mbps over a 1 km cable with signal speed 2 × 10⁸ m/s. Ignoring jam signal and repeater delays, the minimum…
- A TCP sender estimates the round-trip time with SRTT = (7/8)SRTT + (1/8)R and RTTVAR = (3/4)RTTVAR + (1/4)|SRTT - R| (RTTVAR updated…
- An idealised long-lived TCP flow has RTT = 100 ms and MSS = 1500 bytes. Each loss event happens exactly when cwnd reaches 40 segments…
- A TCP Tahoe sender starts with cwnd = 1 MSS and ssthresh = 16 MSS. In each round trip it sends cwnd segments, and cwnd then doubles during…