CS FundamentalsHardWipro · Accenture pattern
How many parity bits does a single-error-correcting Hamming code need to protect 5 data bits?
- A. 4
- B. 3
- C. 5
- D. 4~1
Correct answer: A. 4
The smallest r with 2^r ≥ m + r + 1 is used. For m = 5, r = 3 gives 2^3 = 8 < 9, but r = 4 gives 2^4 = 16 ≥ 10.
More Computer Networks questions
- How many parity bits does a single-error-correcting Hamming code need to protect 9 data bits?
- How many parity bits does a single-error-correcting Hamming code need to protect 18 data bits?
- How many parity bits does a single-error-correcting Hamming code need to protect 29 data bits?
- How many parity bits does a single-error-correcting Hamming code need to protect 47 data bits?
- How many parity bits does a single-error-correcting Hamming code need to protect 61 data bits?
- Run Dijkstra's algorithm on this undirected weighted graph (node-node:weight): P-Q:6, P-R:3, Q-R:2, Q-S:5, R-S:4, S-T:2, R-T:9. Starting…