CS FundamentalsHardGATE CS (PYQ pattern)
A 4000-byte IP datagram (20-byte header, no options) is sent over a link with MTU 1500 bytes. Considering the last fragment, the fragment offset field and its total length are:
- A. offset 370, total length 1040 bytes
- B. offset 370, total length 1020 bytes
- C. offset 375, total length 1040 bytes
- D. offset 185, total length 1040 bytes
Correct answer: A. offset 370, total length 1040 bytes
Data = 3980 bytes; each full fragment carries 1480 data bytes (a multiple of 8). The last carries 3980 − 2960 = 1020 data bytes, plus a 20-byte header gives 1040, and its offset is 2960/8 = 370.
More Computer Networks questions
- A message 110101 is protected with CRC using the generator polynomial x³ + x + 1. The codeword transmitted is:
- A CSMA/CD Ethernet runs at 100 Mbps over a 1 km cable with signal speed 2 × 10⁸ m/s. Ignoring jam signal and repeater delays, the minimum…
- A TCP sender estimates the round-trip time with SRTT = (7/8)SRTT + (1/8)R and RTTVAR = (3/4)RTTVAR + (1/4)|SRTT - R| (RTTVAR updated…
- An idealised long-lived TCP flow has RTT = 100 ms and MSS = 1500 bytes. Each loss event happens exactly when cwnd reaches 40 segments…
- A TCP Tahoe sender starts with cwnd = 1 MSS and ssthresh = 16 MSS. In each round trip it sends cwnd segments, and cwnd then doubles during…
- Router X has neighbours A, B and C reached over links of cost 3, 5 and 2. They advertise their current distance vectors to destinations D1…