CS FundamentalsHardGATE CS (PYQ pattern)
An IPv4 header has words 4500, 0054, 1C46, 4000, TTL/protocol 4001, checksum 0000, C0A8, 0105, 0A00, 0009 (hex). A router decrements the TTL from 0x40 to 0x3F (TTL/protocol word becomes 3F01) and recomputes the header checksum. What is the new checksum?
- A. 0x52AD
- B. 0x54AD
- C. 0x53AD
- D. 0xAC52
Correct answer: C. 0x53AD
Original checksum = 0x52AD. Lowering one 16-bit word by 0x0100 raises the ones'-complement sum's complement by 0x0100 (with end-around carry): new checksum = 0x53AD.
More Computer Networks questions
- An organisation owns 172.16.8.0/22 and must create four subnets for 500, 250, 120 and 50 hosts using VLSM, allocating the largest…
- A router has these entries: 10.0.0.0/8 via R1; 10.1.4.0/22 via R2; 10.1.5.128/25 via R3; 10.1.5.64/26 via R4; default via R5. A packet for…
- A link has a bandwidth of 1 Mbps, a one-way propagation delay of 20 ms and frames of 1000 bits (ACK transmission time negligible). The…
- 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…
- 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…