200-301 · Question #278
How do TCP and UDP differ in the way they guarantee packet delivery?
The correct answer is A. TCP uses checksum, acknowledgement, and retransmissions, and UDP uses checksums only.. TCP ensures reliable delivery through checksums, acknowledgements, and retransmissions, whereas UDP provides unreliable, connectionless service relying only on checksums for data integrity.
Question
How do TCP and UDP differ in the way they guarantee packet delivery?
Options
- ATCP uses checksum, acknowledgement, and retransmissions, and UDP uses checksums only.
- BTCP uses two-dimensional parity checks, checksums, and cyclic redundancy checks and UDP
- CTCP uses checksum, parity checks, and retransmissions, and UDP uses acknowledgements
- DTCP uses retransmissions, acknowledgement and parity checks and UDP uses cyclic
How the community answered
(38 responses)- A92% (35)
- B3% (1)
- D5% (2)
Why each option
TCP ensures reliable delivery through checksums, acknowledgements, and retransmissions, whereas UDP provides unreliable, connectionless service relying only on checksums for data integrity.
TCP is a connection-oriented protocol that guarantees reliable delivery using a combination of checksums for error detection, acknowledgements (ACKs) to confirm receipt of data, and retransmission of unacknowledged segments. UDP is a connectionless protocol that only uses checksums to detect corrupted data but does not guarantee delivery.
TCP does not typically use two-dimensional parity checks or cyclic redundancy checks (CRCs) for guaranteeing packet delivery; these are more common in lower-layer protocols. UDP does not use these either.
TCP does not primarily use parity checks for reliability; it relies on checksums, ACKs, and retransmissions. UDP does not use acknowledgements; it is a best-effort protocol.
TCP uses checksums, ACKs, and retransmissions, not parity checks, for reliability. UDP does not use cyclic redundancy checks for delivery guarantees, as it offers no delivery guarantees beyond data integrity checking.
Concept tested: TCP vs UDP reliability mechanisms
Source: https://learn.microsoft.com/en-us/windows/win32/winsock/tcp-and-udp-protocols
Topics
Community Discussion
No community discussion yet for this question.