Excess - 3 - code is also known as
Self-complementing code
The Excess-3 code is a non-weighted binary-coded decimal (BCD) code. This means that unlike standard binary or weighted BCD codes (like 8-4-2-1 BCD), each bit position in an Excess-3 digit does not represent a specific power of two or a fixed weight. Instead, it is formed by adding decimal 3 (or binary 0011) to each 4-bit BCD digit.
For instance, to find the Excess-3 code for the decimal digit 0:
Similarly, for decimal 1, its BCD is 0001. Adding 0011 to it gives $0001 + 0011 = 0100$, which is the Excess-3 code for 1.
The Excess-3 code possesses a very important characteristic: it is a self-complementing code. This property is why it is frequently referred to by this name. A code is considered self-complementing if the 9's complement of a decimal digit can be directly obtained by performing a 1's complement (bit inversion) operation on its Excess-3 representation.
This unique feature is highly beneficial in digital circuit design, particularly for simplifying subtraction operations, as it eliminates the need for separate circuits to calculate the 9's complement.
| Decimal Digit | Excess-3 Code | 1's Complement of Excess-3 Code | Decimal Value Represented by 1's Complement (Excess-3) | 9's Complement of Original Decimal Digit |
|---|---|---|---|---|
| 0 | 0011 | 1100 | 9 | 9 |
| 1 | 0100 | 1011 | 8 | 8 |
| 2 | 0101 | 1010 | 7 | 7 |
| 3 | 0110 | 1001 | 6 | 6 |
| 4 | 0111 | 1000 | 5 | 5 |
| 5 | 1000 | 0111 | 4 | 4 |
| 6 | 1001 | 0110 | 3 | 3 |
| 7 | 1010 | 0101 | 2 | 2 |
| 8 | 1011 | 0100 | 1 | 1 |
| 9 | 1100 | 0011 | 0 | 0 |
As illustrated in the table, for any decimal digit, taking the 1's complement (inverting all bits) of its Excess-3 representation directly yields another Excess-3 code. When this new Excess-3 code is converted back to its decimal equivalent (by subtracting 0011), it precisely matches the 9's complement of the original decimal digit. For example, for decimal 2, Excess-3 is 0101. Its 1's complement is 1010. Interpreting 1010 as an Excess-3 code, we subtract 0011: $1010 - 0011 = 0111$, which is decimal 7. The 9's complement of 2 is indeed 7. This direct relationship is what defines the self-complementing property.
Given these definitions, the correct term for Excess-3 code based on its unique property is "Self-complementing code."
What is the value of 1 2 + 2 2 + 3 2 + ......21 2 ?
Which sequence is correct to represent the hierarchical chain of number system?
(Where N - Natural Numbers
W - Whole Numbers
Q - Rational Numbers
Z - Integers)
What must be added to 45680 to make it exactly divisible by 9?
How many zeroes are there at the end of the following product?
1 x 5 x 10 x 15 x 20 x 25 x 30 x 35 x 40 x 45 x 50 x 55 x 60
Let XYZ be a three-digit number, where (x + y + Z) is not a multiple of 3. Then (XYZ + YZX + ZXY) is not divisible by