GATE | GATE-CS-2015 (Mock Test) | Question 5

Which of the following is not true about User Datagram Protocol in transport layer?
(A) Works well in unidirectional communication, suitable for broadcast information.
(B) It does three way handshake before sending datagrams
(C) It provides datagrams, suitable for modeling other protocols such as in IP tunneling or Remote Procedure Call and the Network File System
(D) The lack of retransmission delays makes it suitable for real-time applications


Answer: (B)

Explanation: // UDP is a connectioness protocol, so it doesn’t establish connection. Three way handshake is done by transport layer.

A- UDP is a stateless protocol thus, useful in servers which answer small queries of large number of clients as it doesn’t need to store the state for each client. Thus, UDP is suitable for broadcast and unidirectional communication.

B- Three way handshake is performed by TCP before establishing the connection in which it first sends SYN packet then SYN-ACK is received,then ACK packet is sent. UDP is a connectionless protocol and thus,doesn’t to perform 3-way handshake.

C- IP tunneling is a communication channel between two different kind of networks .It is used to connect islands of IPv6 across the IPV internet by encapsulating the packets in the frame format of IPV4 . Remote procedure call is when a program causes a subroutine to run in another address space .This address space can be on server.It is a request response protocol and thus,UDP is suitable for it. Datagrams are also useful as UDP is a packet stream protocol.

D- TCP retransmits the errorneous packets from source to destination while UDP discards them.

This solution is contributed by Shashank Shanker khare

Quiz of this Question



My Personal Notes arrow_drop_up