Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Which of the following statements is correct ... Start Learning for Free
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.
Correct answer is option 'A'. Can you explain this answer?
Most Upvoted Answer
Which of the following statements is correct in respect of TCP and UDP...
TCP and UDP Protocols

Introduction:
TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) are two widely used transport layer protocols in computer networking. Both protocols are used for data transmission over IP networks, but they have different characteristics and use cases.

Statement:
The correct statement among the given options is option A: TCP is connection-oriented, whereas UDP is connectionless.

Explanation:
TCP:
- TCP is a connection-oriented protocol, which means it establishes a reliable and ordered connection between the sender and receiver before exchanging data.
- It guarantees data delivery, in-order transmission, and error detection through various mechanisms such as sequence numbers, acknowledgments, and retransmissions.
- TCP provides flow control to prevent overwhelming the receiver with data and congestion control to avoid network congestion.
- It is commonly used for applications that require reliable and ordered data delivery, such as web browsing, file transfer, and email.

UDP:
- UDP is a connectionless protocol, which means it does not establish a dedicated connection before transmitting data.
- It is a lightweight protocol that does not provide reliability, ordering, or flow control mechanisms.
- UDP is used for applications that prioritize low latency and can tolerate data loss, such as real-time streaming, online gaming, and DNS queries.
- It is faster than TCP due to its simplicity and lack of overhead associated with establishing and maintaining a connection.

Conclusion:
In summary, TCP is a connection-oriented protocol that provides reliable and ordered data transmission, while UDP is a connectionless protocol that offers faster but less reliable data transmission. Therefore, option A is the correct statement.
Free Test
Community Answer
Which of the following statements is correct in respect of TCP and UDP...
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.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

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.Correct answer is option 'A'. Can you explain this answer?
Question Description
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.Correct answer is option 'A'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 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 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.Correct answer is option 'A'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for 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.Correct answer is option 'A'. Can you explain this answer?.
Solutions for 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.Correct answer is option 'A'. 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 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.Correct answer is option 'A'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of 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.Correct answer is option 'A'. Can you explain this answer?, a detailed solution for 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.Correct answer is option 'A'. Can you explain this answer? has been provided alongside types of 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.Correct answer is option 'A'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice 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.Correct answer is option 'A'. 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