CS FundamentalsHardGATE CS
A sender computes the 16-bit Internet checksum of the words 4500, 003C, 1C46, 4000, 4006 (hex) and sends 0x1E77. At the receiver the ones'-complement sum of the five data words plus the received checksum is computed. Which result means 'no error detected'?
- A. 0x0000
- B. 0xFFFF
- C. 0x0100
- D. 0xE188
Correct answer: B. 0xFFFF
The data words sum (with end-around carry) to 0xE188, and the checksum is its complement 0x1E77. Adding them gives all ones, 0xFFFF; any other result (for example 0x0100 after one bit flip in the checksum) signals an error.
More Computer Networks questions
- A host sends a UDP datagram with 10 bytes of application data over IPv4 (20-byte header, no options) on Ethernet II. How many padding…
- On 1 Gbps Ethernet every minimum-size frame (64 bytes) also costs an 8-byte preamble/SFD and a 12-byte inter-frame gap on the wire. What…
- A site receives the IPv6 prefix 2001:db8:abcd::/48 and gives every LAN a /64. How many LAN subnets are possible, and how many interface…
- Which DNS name is queried for a reverse lookup of the IPv4 address 192.0.2.45, and what record type answers it?
- A 4 MB file (1 MB = 10⁶ bytes) travels over a path of three links with rates 2 Mbps, 5 Mbps and 1 Mbps. Ignoring propagation and…
- On a 1 Gbps link where signals travel at 2 × 10⁸ m/s, how long is one bit on the wire, and how many bits fill a 1000 km link?