Question

Difficulty: EasyTCP vs UDP Comparison and Protocols

Match each transport layer protocol characteristic on the left to its corresponding protocol on the right.

  • Establishes a stateful connection using a 3-way handshake prior to transmitting dataTransmission Control Protocol (TCP)
  • Features a simple, fixed 8-byte header structure for minimal transmission overheadUser Datagram Protocol (UDP)
  • Uses sliding windows and acknowledgments to perform dynamic flow controlTransmission Control Protocol (TCP)
  • Provides stateless, best-effort transport optimal for latency-sensitive trafficUser Datagram Protocol (UDP)

Answer

TCP corresponds to connection establishment via a 3-way handshake and dynamic flow control via windowing. UDP corresponds to low overhead with an 8-byte header and stateless best-effort delivery for latency-sensitive applications.
TCP provides stateful session establishment, reliable delivery, and flow control mechanisms, making it suitable for applications requiring guaranteed data delivery. UDP maintains no connection state, operates with an 8-byte header, and prioritizes rapid transmission for traffic where timeliness matters more than missing packet retransmission.

Step-by-Step Solution

1
Analyze connection-oriented and reliability features
The 3-way handshake and dynamic windowing/acknowledgments belong to TCP.
TCP provides reliable, ordered, and flow-controlled communication.
2
Analyze connectionless and overhead features
The 8-byte fixed header and stateless delivery for real-time applications belong to UDP.
UDP trades error recovery and sequencing for maximum speed and minimal overhead.

Key Concept

Transport layer protocol comparison: TCP connection-oriented reliability vs. UDP connectionless efficiency
Estimated Time:1m 0s
Rate this question