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.
- A. 3
- B. 5
- C. 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
- A sender must deliver frames 1–8 with a window of 4. Only the first transmission of frame 3 is lost; nothing else is lost, and the sender…
- A 2 Mbps link uses Selective Repeat with a window of 10 frames. The propagation delay is 8 times the frame transmission time and ACKs are…
- A block code has minimum Hamming distance 5. Which statement is correct?
- Compute the 16-bit Internet checksum (ones' complement of the ones' complement sum) of the words 0xABCD, 0xF00F, 0x1234 and 0x8E91.
- A PPP-style link uses byte stuffing with a FLAG byte at each end of the frame and an ESC byte placed before any FLAG or ESC that occurs in…
- Link-state routing runs Dijkstra from S on an undirected network with link costs S–A 3, S–B 1, B–A 1, A–C 2, B–C 5, C–D 1, B–D 7, A–D 6…