0
0
Computer Networksknowledge~20 mins

TCP congestion control in Computer Networks - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
TCP Congestion Control Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding TCP Congestion Window Behavior

What happens to the TCP congestion window size immediately after a packet loss is detected by triple duplicate acknowledgments?

AThe congestion window size is reset to one segment and TCP enters slow start phase.
BThe congestion window size is halved and TCP enters congestion avoidance phase.
CThe congestion window size remains unchanged and TCP continues transmission normally.
DThe congestion window size doubles immediately to recover lost throughput quickly.
Attempts:
2 left
💡 Hint

Think about how TCP reacts to moderate congestion signals without restarting completely.

📋 Factual
intermediate
2:00remaining
TCP Slow Start Phase Behavior

During the TCP slow start phase, how does the congestion window size change with each round-trip time (RTT)?

AIt increases exponentially, doubling each RTT.
BIt remains constant until packet loss occurs.
CIt increases linearly by one segment per RTT.
DIt decreases exponentially to avoid congestion.
Attempts:
2 left
💡 Hint

Slow start aims to quickly find the network capacity by rapidly increasing the window.

🔍 Analysis
advanced
2:00remaining
Effect of Network Delay on TCP Congestion Control

How does an increase in network round-trip time (RTT) affect the TCP congestion control performance?

AHigher RTT causes TCP to ignore congestion signals and maintain window size.
BHigher RTT causes faster congestion window growth, increasing throughput.
CRTT has no effect on congestion window size or throughput.
DHigher RTT causes slower congestion window growth, reducing throughput.
Attempts:
2 left
💡 Hint

Consider how RTT influences the feedback loop speed in TCP.

Comparison
advanced
2:00remaining
Comparing TCP Tahoe and TCP Reno

Which key difference distinguishes TCP Reno from TCP Tahoe in handling packet loss?

ATCP Tahoe ignores packet loss, TCP Reno reduces transmission rate.
BTCP Tahoe uses selective acknowledgments, TCP Reno does not.
CTCP Reno performs fast recovery after triple duplicate ACKs, while TCP Tahoe always enters slow start.
DTCP Reno resets the congestion window to zero on any loss, TCP Tahoe halves it.
Attempts:
2 left
💡 Hint

Think about how each version recovers from packet loss without restarting completely.

Reasoning
expert
2:00remaining
Impact of Packet Loss Detection Method on TCP Throughput

Consider two TCP connections: one detects packet loss via timeout, the other via triple duplicate ACKs. Which connection typically achieves higher throughput and why?

AThe connection detecting loss via triple duplicate ACKs achieves higher throughput because it recovers faster without reducing the congestion window drastically.
BThe connection detecting loss via timeout achieves higher throughput because it waits longer before retransmitting, avoiding unnecessary retransmissions.
CBoth connections achieve the same throughput since loss detection method does not affect performance.
DThe connection detecting loss via timeout achieves higher throughput because it halves the congestion window more aggressively.
Attempts:
2 left
💡 Hint

Think about how quickly each method allows TCP to resume sending data after loss.