- 2068 Chaitra · 2+3 marks
Capability of a code with dmin = 4
Short answer
Hamming distance is the number of differing bit positions between two codewords; d_min is the minimum such distance among all codeword pairs. For d_min = 4, it detects up to 3 errors, corrects 1 error, and can simultaneously correct 1 error and detect up to 2 errors (SEC-DED).
Define Hamming Distance and minimum Hamming distance. Suppose a code has a Hamming distance dmin = 4. What is the error detection and correction capability of this scheme?
Hamming distance
The Hamming distance d(x, y) between two equal-length binary words is the number of positions in which they differ (the weight of x ⊕ y). Example: d(1011, 1101) = 2.
Minimum Hamming distance
d_min is the smallest Hamming distance between any two distinct codewords of a code. Example: for {000, 011, 101, 110}, d_min = 2.
Capability for d_min = 4
- Error detection: up to d_min − 1 = 3 errors can be detected.
- Error correction: up to t = ⌊(d_min − 1)/2⌋ = ⌊3/2⌋ = 1 error can be corrected.
- Simultaneous: with d_min ≥ t + s + 1 (t corrected, s detected, s ≥ t), it can correct 1 error and also detect up to 2 errors (4 ≥ 1 + 2 + 1). This is the single-error-correcting, double-error-detecting (SEC-DED) mode, as in an extended Hamming code.
Rules used: detect s errors needs d_min ≥ s + 1; correct t errors needs d_min ≥ 2t + 1.
✓ Answer checked by Claude Sonnet 5.5
Related questions
- Forward error correction using Hamming code · Data Communication, chapter 8
- Minimum Hamming distance; find k and n · Data Communication, chapter 8
- Hamming distance and minimum distance · Data Communication, chapter 8 · asked 2×
- Redundancy, Hamming distance, linear vs cyclic · Data Communication, chapter 8
- (6,3) block code words, weights, dmin · Data Communication, chapter 8
- Construct a (7,4) Hamming code · Data Communication, chapter 8
- Short note: Error detection and correction capability · Communication Systems, chapter 8
- Error detection vs correction; rate ½ convolutional encoder · Communication Systems, chapter 8
- Significance of dmin; (7,4) cyclic code for 1101 with g(x) = 1 + x + x² · Communication Systems, chapter 8
- Hamming weight and distance; (7,4) cyclic code for 1011 · Communication Systems, chapter 8 · asked 2×