TCP Networking Quiz (Intermediate to Advanced)

Q1. TCP is a reliable, connection-oriented transport protocol that ensures data is delivered in order and without errors between applications.


Q2. Which of the following fields is NOT found in a TCP header?




Q3. Which TCP control flag is used to initiate a new TCP connection via the three-way handshake?




Q4. The TCP three-way handshake involves a client sending a SYN, the server responding with SYN-ACK, and the client replying with an ACK to establish the connection.


Q5. What mechanism does TCP use to prevent a sender from overwhelming a slow receiver’s buffer?




Q6. Which TCP flag indicates a request to gracefully terminate a connection?




Q7. In TCP congestion control, which event triggers the fast retransmit mechanism?




Q8. During slow start, TCP’s congestion window (cwnd) grows exponentially, effectively doubling in size each round-trip time until a loss is detected or a threshold is reached.


Q9. Which statement correctly distinguishes between TCP flow control and congestion control?




Q10. Which of the following is true about TCP Cubic?




Q11. If a TCP segment is sent but the ACK is not received before the retransmission timer expires, what happens to the retransmission timeout (RTO)?




Q12. A receiver advertises a window size of zero during an active TCP connection. What does this indicate?




Q13. During the TCP handshake, each side may advertise its Maximum Segment Size (MSS) option to help avoid IP fragmentation.


Q14. After a TCP connection is closed, the endpoint that sent the final ACK enters the TIME_WAIT state to guard against delayed packets from the old connection.


Q15. How does TCP Reno differ from TCP Tahoe after detecting packet loss via triple duplicate ACKs?




Q16. Which statement about TCP Cubic congestion control is correct?




Q17. Selective Acknowledgment (SACK) allows a receiver to acknowledge non-consecutive segments so the sender can retransmit only the missing data.


Q18. Which TCP option increases the maximum receive window size beyond the 65 535-byte limit to improve performance on high bandwidth-delay product networks?




Q19. Explicit Congestion Notification (ECN) allows routers to mark packets instead of dropping them when congestion is detected, and TCP endpoints react by reducing their sending rate.


Q20. Nagle’s algorithm combines small outgoing messages into fewer, larger packets, which can add latency for interactive applications.


system-design