Question Bank - Computer Networks

Here's the question bank on all the computer networks topics.

Which of the following statements is correct in respect of TCP and UDP protocols?

A.
TCP is connection-oriented, whereas UDP is connectionless.
B.
TCP is connectionless, whereas UDP is connection-oriented.
C.
Both are connectionless.
D.
Both are connection-oriented.

Solution:

TCP (Transmission Control Protocol):TCP (Transmission control protocol) is a connection-oriented reliable transport protocol. It provides a process to process communications using port numbers. It provides services like flow control, error control, congestion control. A packet that is sent is known as a segment in TCP.In TCP, transmission requires three phases: connection establishment, data transfer, and connection termination. It uses three-way handshaking mechanism for connection establishment and termination. UDP (User datagram protocol):UDP (User datagram protocol) is called a connectionless, unreliable transport protocol.It does not add anything to the services of IP except providing a process to process communication.There is no flow control, error control and congestion control mechanism in UDP. To send a message from one process to another,UDP protocol encapsulates and decapsulates messages in an IP datagram.

For more questions,

Click Here

Download Gyanm App

free current affairs for competitive exams

Scan QR code to download our App for
more exam-oriented questions

free current affairs for competitive exams

OR
To get link to download app

Thank you! Your submission has been received. You will get the pdf soon. Call us if you have any question: 9117343434
Oops! Something went wrong while submitting the form.