CS FundamentalsHardGATE CS · Product company CS fundamentals
A UDP header shows a length field of 0x0040. How many bytes of application data does the datagram carry?
- A. 64
- B. 40
- C. 56
- D. 48
Correct answer: C. 56
0x0040 = 64 bytes, and the UDP length includes its own 8-byte header, so the payload is 64 − 8 = 56 bytes.
More Computer Networks questions
- Which statement about TCP's three-way handshake is correct?
- Two stations 2.5 km apart share a 10 Mbps bus (signals at 2 × 10⁸ m/s). What is the 'a' parameter (propagation time / transmission time)…
- Which statement about switches with VLAN trunks is correct?
- A server sends to a client over a 100 Mbps path with RTT 200 ms. The client's receive buffer is 64 KB and window scaling is unavailable…
- Ten stations use slotted ALOHA, each transmitting in a slot with probability 0.1. What is the probability that a slot is wasted (idle or…
- Host A's IP is 192.168.1.10/24 with gateway 192.168.1.1, but A is misconfigured with mask 255.255.0.0. What happens when A sends to…