Consider the following statements regarding TCP and UDP:

  • (i) Both TCP and UDP uses the 16-bit port number and 32-bit IP address.
  • (ii) UDP is connection oriented while TCP is connectionless protocol.
  • (iii) There is segment sequencing as well as acknowledgment in TCP.
  • (iv) Header size is 16 byte in TCP and 8 bytes in UDP.
  • (v) TCP uses HTTP, HTTPs, SMTP and Telnet while UDP uses DNS, DHCP, TFTP, SNMP, RIP protocol.

Which of the following statement/s is/are correct?
(A) Only (ii), and (iv)
(B) Only (i), (iii), and (v)
(C) Only (i), (ii), and (iv)
(D) None of these


Answer: (B)

Explanation: Statement (ii) is false, because TCP is connection oriented while UDP is connectionless.
Statement (iv) is false, because header size is 20 byte in TCP and 8 bytes in UDP.

Only (i), (iii), and (v) are correct.

Option (B) is correct.


Quiz of this Question


  • Last Updated : 07 Dec, 2018

Share your thoughts in the comments