Questions: Sliding Window Protocol

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A network link has 100 Mbps bandwidth and a 200 ms round-trip time. A stop-and-wait sender achieves roughly 0.05% link utilization. What window size (in 1500-byte packets) is needed to approach full utilization?

AApproximately 1,667 packets — matching the bandwidth-delay product so the sender has enough in-flight data to keep the link busy during the full round-trip
BExactly 2 packets — one being transmitted and one in the acknowledgment pipeline is sufficient for any link speed
CThe window size is irrelevant; link utilization depends only on packet size and link bandwidth, not on the number of in-flight packets
DApproximately 10 packets — a standard TCP initial window size that balances throughput and reliability for all link types
Question 2 Multiple Choice

A sender using Go-Back-N with window size 8 transmits packets 1–8. Packet 4 is lost; packets 5–8 arrive correctly at the receiver. What does the receiver do with packets 5–8?

ADiscards them — Go-Back-N receivers do not buffer out-of-order packets, so packets 5–8 are dropped and must be retransmitted after packet 4 is recovered
BBuffers packets 5–8 and sends individual SACKs (selective acknowledgments) requesting only packet 4 be retransmitted
CSends a cumulative ACK through packet 8, trusting the sender to detect the gap via timeout and retransmit only what was lost
DBuffers packets 5–8 silently and delivers them in order once packet 4 is recovered, without sending any ACKs until the gap is filled
Question 3 True / False

The sliding window protocol improves link utilization over stop-and-wait by allowing the sender to transmit new packets while waiting for acknowledgments of earlier ones.

TTrue
FFalse
Question 4 True / False

In TCP, the receiver's advertised window (rwnd) directly determines the sender's congestion window (cwnd), which limits how fast the sender transmits.

TTrue
FFalse
Question 5 Short Answer

What is the bandwidth-delay product, and why must a sliding window be at least this large to fully utilize a high-latency link?

Think about your answer, then reveal below.