

McqMate
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 |
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. |
View all MCQs in
Computer Architecture and OrganizationNo comments yet