Error Detection Codes and Correction Codes(5)
- Example: Odd-parity code for ASCII code characters:
- Error detection: Check whether a code word has the correct parity.
- Single-error detection code (dmin = 2).
Two-out-of-Five Code
- Each code word has exactly two 1’s and three 0’s.
- Detects single errors and multiple errors in adjacent bits.