EXAMPLE 4 Error Detection and Correction Capacity

The binary code

has weight 1. It will not detect any error.

The binary code

has weight 2. It will detect any error but will not correct every 1 error.

The binary code

has weight 3. It will detect any or fewer errors or correct any error.

The binary code

has weight 4. It will detect any or fewer errors or correct any error.