📊 Computer Architecture and Organization
Q. Which is the correct expression for the length of UDP datagram?
  • (A) udp length = ip length – ip header’s length
  • (B) udp length = udp length – udp header’s length
  • (C) udp length = ip length + ip header’s length
  • (D) udp length = udp length + udp header’s length
💬 Discuss
✅ Correct Answer: (A) udp length = ip length – ip header’s length

Explanation: a user datagram is encapsulated in an ip datagram. there is a field in the ip header that defines the total length of the ip packet. there is another field in the ip header that defines the length of the header. so if we subtract the length of the ip header that is encapsulated in the ip packet, we get the length of udp datagram.


Explanation by: Mr. Dubey
a user datagram is encapsulated in an ip datagram. there is a field in the ip header that defines the total length of the ip packet. there is another field in the ip header that defines the length of the header. so if we subtract the length of the ip header that is encapsulated in the ip packet, we get the length of udp datagram.

💬 Discussion

📊 Question Analytics

👁️
537
Total Visits
📽️
3 y ago
Published
🎖️
Mr. Dubey
Publisher
📈
99%
Success Rate