Multiple choice

The sum of weights in a self- complementing BCD code must be

  1. 7

  2. 9

  3. 10

  4. 8

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In a self-complementing weighted code, the 9's complement is obtained by inverting all bits. For this property to hold in a 4-bit BCD code, the sum of the weights must be 9. This ensures that the weighted sum of inverted bits equals 9 minus the original digit.