Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Which of the following protocols uses both TC... Start Learning for Free
Which of the following protocols uses both TCP and UDP?
  • a)
    FTP
  • b)
    SMTP
  • c)
    Telnet
  • d)
    DNS
Correct answer is option 'D'. Can you explain this answer?
Most Upvoted Answer
Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Te...
DNS and some other services work on both TCP and the UDP protocols. DNS uses TCP for zone exchanges between servers and UDP when a client is trying to resolve a hostname to an IP address.
Free Test
Community Answer
Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Te...
Explanation:
The correct answer is option D, DNS (Domain Name System).

DNS (Domain Name System):
DNS is a protocol that is used to convert domain names into IP addresses. It is responsible for translating human-readable domain names into machine-readable IP addresses. DNS uses both TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) depending on the type of query and the size of the response.

TCP (Transmission Control Protocol):
TCP is a connection-oriented protocol that provides reliable, ordered, and error-checked delivery of data between applications. It ensures that all data packets are delivered in the correct order and without errors. TCP is used when the size of the DNS response is too large to fit in a single UDP packet.

UDP (User Datagram Protocol):
UDP is a connectionless protocol that provides fast but unreliable delivery of data. It does not guarantee the delivery of packets or their order. UDP is used when the DNS response is small enough to fit in a single packet and reliability is not as important. It is faster than TCP because it does not have the overhead of establishing and maintaining a connection.

Why DNS uses both TCP and UDP:
DNS primarily uses UDP because it is faster and more efficient for smaller requests and responses. Most DNS queries are small and can fit within a single UDP packet. However, if the DNS response is too large to fit in a single UDP packet, TCP is used instead. TCP allows for larger data transfers and ensures reliable delivery of the DNS response.

Conclusion:
In conclusion, DNS uses both TCP and UDP protocols. UDP is used for smaller requests and responses, while TCP is used for larger responses that cannot fit in a single UDP packet. The use of both protocols allows DNS to efficiently translate domain names into IP addresses while ensuring reliable delivery when needed.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Question Description
Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Telnetd)DNSCorrect answer is option 'D'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Telnetd)DNSCorrect answer is option 'D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Telnetd)DNSCorrect answer is option 'D'. Can you explain this answer?.
Solutions for Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Telnetd)DNSCorrect answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Telnetd)DNSCorrect answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Telnetd)DNSCorrect answer is option 'D'. Can you explain this answer?, a detailed solution for Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Telnetd)DNSCorrect answer is option 'D'. Can you explain this answer? has been provided alongside types of Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Telnetd)DNSCorrect answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Which of the following protocols uses both TCP and UDP?a)FTPb)SMTPc)Telnetd)DNSCorrect answer is option 'D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev