CS FundamentalsModerateHCL · Tech Mahindra pattern
How many parity (check) bits does a single-error-correcting Hamming code need for 11 data bits?
- A. 3
- B. 4
- C. 5
- D. 11
Correct answer: B. 4
Need the smallest r with 2^r ≥ m + r + 1. For m = 11: r = 3 gives 8 < 15, r = 4 gives 16 ≥ 16, so r = 4 (the (15, 11) code).
More Computer Networks questions
- A Go-Back-N protocol uses 3-bit sequence numbers. What is the largest sender window that still works correctly?
- Under classful addressing, 150.20.3.4 belongs to which class, and what is its default subnet mask?
- A host has the address 172.16.45.200/20. What is the network address of its subnet?
- What is the directed broadcast address of the subnet containing 10.37.190.77/19?
- The block 10.0.0.0/8 must be divided into at least 500 equal subnets, each with as many hosts as possible. How many usable hosts will each…
- Which address is in the same subnet as 192.168.5.130/27 and can be assigned to a host?