Consider the following two statements: S1 : TCP handles both congestion and…
2018
Consider the following two statements:
S1 : TCP handles both congestion and flow control
S2 : UDP handles congestion but not flow control
Which of the following options is correct with respect to the above statements (S1) and (S2)?
Choose the correct answer from the code given below:
- A.
Neither S1 nor S2 is correct
- B.
S1 is not correct but S2 is correct
- C.
S1 is correct but S2 is not correct
- D.
Both, S1 and S2 are correct
Attempted by 279 students.
Show answer & explanation
Correct answer: C
Answer: S1 is correct but S2 is not correct
Explanation:
Why the first statement is correct: TCP provides flow control using a sliding window mechanism and provides congestion control using algorithms such as slow start, congestion avoidance, fast retransmit, and fast recovery (variables like cwnd and ssthresh are used). These mechanisms ensure reliable, adaptive transmission.
Why the second statement is incorrect: UDP is a connectionless protocol that does not implement built-in congestion control or flow control. It simply sends datagrams without those transport-layer mechanisms; applications must handle any required reliability or congestion management.
Conclusion: Select the option that states the first statement is correct and the second is not.
A video solution is available for this question — log in and enroll to watch it.