GATE / CS ARCHIVE

GATE CSE 2015 SET 1 / QUESTION 23

GATE CSE 2015 Set 1 Q23

Computer Networks · Transport, Congestion Control & Traffic Shaping · Full GATE CSE 2015 Set 1 paper

GATE 2015 Set 1, Q23 1 mark · MCQ
Report issue

Transport, Congestion Control & Traffic Shaping

Question 23, GATE 2015: Two hosts transfer a large file over TCP. Which claims are false? I a segment numbered m is always followed by m+1; II estimated RTT t implies retransmission timeout≥t; III advertised window size never changes; IV unacknowledged bytes are always≤advertised window. A III only; B I and III; C I and IV; D II and IV.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Our answer: B under nonshrinking-window textbook model

A segment carrying L data bytes advances the data sequence number by L, not by one, so a 1000-byte segment beginning at m normally leads to m+1000. The receive window tracks available receiver buffer space and can change as data arrives and is consumed. The textbook RTO adds a delay-variation allowance to the smoothed RTT. The intended flow-control invariant yields B, but the absolute “always” in IV must retain the inherited window-shrink qualification: a new smaller advertisement does not retract bytes already in flight.

Solution: Sequence numbers count bytes, so I is false. RTO includes estimated RTT plus a nonnegative variability margin, making II true in the usual model. The receiver-advertised window varies, so III is false. With a nonshrinking receive-window right edge, outstanding data respects the advertised window, giving IV true and false statements I and III, official B. The word always in IV needs qualification: a receiver can shrink its window after data was sent, leaving more outstanding bytes than its new advertisement. TCP discourages shrinking but implementations must tolerate it. Therefore B assumes the simplified flow-control model.

Original paper, page 10 · Answer key