CS FundamentalsVery hardGATE CS
A (7, 4) Hamming code uses ODD parity, with bit layout p1 p2 d3 p4 d5 d6 d7 (positions 1–7 from the left); each check bit makes its group (positions containing that power of two) have an odd number of 1s. The word 1101100 is received, with at most one bit in error. What are the corrected data bits d3 d5 d6 d7?
- A. 0100
- B. 0000
- C. 0101
- D. 1011
Correct answer: B. 0000
Group 1 (positions 1, 3, 5, 7), group 2 (2, 3, 6, 7) and group 4 (4, 5, 6, 7) are checked for ODD parity; the failing groups sum to position 5. Flipping it gives 1101000, whose data bits are 0000. Checking for even parity instead would point to a different bit.
More Computer Networks questions
- How many of these MAC addresses are group (multicast or broadcast) addresses? 01:00:5E:00:00:FB, 03:00:00:00:00:01, 02:1A:2B:3C:4D:5E…
- Four switches are connected in a full mesh (every pair linked, 6 links) and run Spanning Tree. How many links end up blocked (forwarding…
- Routers A–B–C–D–E form a line (cost 1 per link) and start a synchronous distance-vector protocol knowing only their direct neighbours…
- Link-state routing on: R1–R2 2, R1–R3 5, R2–R3 1, R2–R4 7, R3–R4 2, R3–R5 6, R4–R5 1, R4–R6 4, R5–R6 2. In R1's forwarding table, what is…
- Which statement about OSPF areas is correct?
- A NAT router (public IP 203.0.113.5) holds the entry 192.168.1.20:51000 ↔ 203.0.113.5:62001 for a connection to 93.184.216.34:443. A…