Excess-3 code of decimal number 2 is:
2020
Excess-3 code of decimal number 2 is:
- A.
0101
- B.
1010
- C.
1100
- D.
0011
Attempted by 157 students.
Show answer & explanation
Correct answer: A
To find the Excess-3 code of a decimal number, add 3 to the given decimal number and then convert the resulting sum into its 4-bit binary equivalent:
Add 3 to the decimal digit:
2 + 3 = 5
Convert the sum (5) to 4-bit binary:
(5)10 = 01012
Thus, the Excess-3 code for decimal 2 is 0101. The correct option is A.