• S
    SwaseekhGATE Preparation
General
  • Dashboard
  • Syllabus
  • Questions
  • Aptitude
  • Mock Tests
  • TCS NQT 2026
Account
  • Pricing
  • Contact
  1. GATE CS
  2. PYQs
  3. Computer Networks

On a TCP connection, current congestion window size is Congestion Window = 4 KB. The window size advertised by the receiver is Advertise Window = 6 KB. The last byte sent by the sender is LastByteSent = 10240 and the last byte acknowledged by the receiver is LastByteAcked = 8192. The current window size at the sender is: A. 2048 bytes B. 4096 bytes C. 6144 bytes D. 8192 bytes

GATE 2005 · Computer Networks · Congestion Control · medium

Answer: A. 2048 bytes

  1. Compute Effective Window Size: cwnd = 4 KB = 4096 bytes, rwnd = 6 KB = 6144 bytes. min(4096, 6144) = 4096 bytes.
  2. Compute Bytes Already In-Flight: InFlight = 10240 - 8192 = 2048 bytes. These bytes have been sent but not yet acknowledged, so they count against the window.
  3. Compute Remaining Window (Bytes Sender Can Still Send): CanSend = 4096 - 2048 = 2048 bytes. The sender can transmit 2048 more bytes right now.