CS FundamentalsHardGATE CS
A single-error-correcting Hamming code uses 5 check bits. What is the maximum number of data bits it can protect, and what is its code rate?
- A. 26 data bits; rate 26/31
- B. 31 data bits; rate 31/36
- C. 25 data bits; rate 25/30
- D. 16 data bits; rate 16/21
Correct answer: A. 26 data bits; rate 26/31
The check bits must label every single-bit error plus 'no error': 2ʳ ≥ m + r + 1, so m ≤ 32 − 6 = 26. That is the (31, 26) code with rate 26/31 ≈ 0.84; larger codes have higher rates.
More Computer Networks questions
- On a CSMA/CD bus with end-to-end propagation delay τ, station A starts sending at t = 0 and station B (at the far end) starts just before…
- Which pair of ICMPv6 messages replaces ARP in IPv6 address resolution?
- Which statement about IPv6 address autoconfiguration is correct?
- 6to4 tunnelling builds a site's IPv6 prefix from 2002::/16 followed by its 32-bit public IPv4 address. What /48 prefix does a site with…
- How is the IPv4 address 192.0.2.128 written as an IPv4-mapped IPv6 address in hexadecimal form?
- Why must iBGP speakers inside an AS be fully meshed (or use route reflectors/confederations)?