Question:medium

Explain the purpose of the following protocols:
(a) TCP/IP
(b) UDP

Show Hint

TCP/IP provides reliable, connection-oriented communication, while UDP offers fast, connectionless data transmission without guaranteed delivery.
Updated On: Jan 14, 2026
Show Solution

Solution and Explanation

(a) TCP/IP (Transmission Control Protocol/Internet Protocol): TCP/IP is the foundational set of protocols for internet and private network connectivity. IP handles addressing and routing of data packets across networks to their destinations. TCP ensures data is delivered reliably, in order, and without errors between applications. It initiates a connection, manages packet order, re-sends lost packets, and regulates data flow to prevent network overload. Consequently, TCP/IP facilitates dependable and efficient computer communication.
(b) UDP (User Datagram Protocol): UDP is a connectionless protocol within the TCP/IP suite. It differs from TCP by not requiring a prior connection setup, nor does it ensure data delivery, order, or error checking. UDP dispatches datagrams to the recipient without requiring acknowledgments. This efficiency lowers overhead and latency, making UDP ideal for time-sensitive applications where some data loss is tolerable, such as live streaming, online gaming, and voice over IP (VoIP).
Was this answer helpful?
0