CS FundamentalsHardGATE CS · Product company CS fundamentals

How many of the following statements about UDP are correct? 1. The UDP checksum covers a pseudo-header containing the source and destination IP addresses. 2. In IPv4 the UDP checksum may be set to 0 (not used), but in IPv6 it is mandatory. 3. The UDP length field counts the 8-byte header plus the data. 4. UDP preserves message boundaries: one sendto() produces one datagram. 5. UDP retransmits a datagram if the checksum fails at the receiver.

  1. A. 3
  2. B. 5
  3. C. 4
  4. D. 2

Correct answer: C. 4

1–4 are true. Statement 5 is false: a UDP receiver silently discards a datagram with a bad checksum, and UDP itself never retransmits; any recovery is left to the application.

More Computer Networks questions

Exams that ask this topic