Skip to content
GATEiit

GATE CSE 2024 Session 2 Q54: TCP congestion window two RTTs after a timeout

Question

Consider a TCP connection operating at a point of time with the congestion window of size 12 MSS (Maximum Segment Size), when a timeout occurs due to packet loss. Assuming that all the segments transmitted in the next two RTTs (Round Trip Time) are acknowledged correctly, the congestion window size (in MSS) during the third RTT will be _________

Try it: numerical answer: type the value

Numerical answer. No negative marking.
Show answer and explanation

Answer: 4 (official GATE 2024 final answer key)

Concept used: On timeout TCP sets ssthresh to half the window and restarts slow start from 1 MSS.

First step: ssthresh becomes 6 and cwnd 1; slow start doubles the window every RTT while below ssthresh.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2024 Session 2 CS question paper and final answer key, organised by IISc Bangalore. Question paper · Answer key