CS FundamentalsHardProduct-company MCQ pattern
A 5000-byte IPv4 datagram (20-byte header) must cross a link with MTU 1420 bytes. What are the fragment offset and total length of the last fragment?
- A. Offset 4200, total length 800 bytes
- B. Offset 525, total length 780 bytes
- C. Offset 525, total length 800 bytes
- D. Offset 350, total length 1420 bytes
Correct answer: C. Offset 525, total length 800 bytes
Data per fragment = 1400 bytes (1420 − 20, already a multiple of 8). 4980 data bytes → 1400 + 1400 + 1400 + 780, i.e. 4 fragments. The last starts at byte 4200 → offset 4200/8 = 525, and its total length is 780 + 20 = 800. 780 forgets the header; 4200 forgets the 8-byte unit.
More Computer Networks questions
- A code has exactly four codewords: 00000, 01011, 10101 and 11110. Which statement about its error handling is correct?
- In slotted ALOHA, the offered load is G = 2 frames per slot. What fraction of slots carry a successful frame?
- For the host 131.45.214.9/22, how many usable host addresses does its subnet have, and what is the last usable host address?
- Which one of these is NOT a function of the transport layer?
- How many of the following statements about IPv6 are correct? 1. The base IPv6 header has a fixed size of 40 bytes. 2. IPv6 has no…
- How many of the following statements about HTTPS (TLS) are correct? 1. The server's certificate lets the client verify the server's…