Find the excess-3 code of the given binary number
1. 1010
2. 0100
3. 0001
1. The excess-3 code of 1010 is 0101, because adding 0011 (the excess-3 code for decimal 3) to the binary value of 1010 (which is decimal 10) results in binary 1111, which is the excess-3 code for decimal 13.
2. The excess-3 code of 0100 is 1011, because adding 0011 to the binary value of 0100 results in binary 0111, which is the excess-3 code for decimal 7.
3. The excess-3 code of 0001 is 1000, because adding 0011 to the binary value of 0001 results in binary 0100, which is the excess-3 code for decimal 4.
To find the excess-3 code of a binary number, you need to add 3 to each digit of the binary number. Here are the excess-3 codes for the given binary numbers:
1. 1010
Adding 3 to each digit, we get: 1010 + 0011 = 1101
Therefore, the excess-3 code for the given binary number 1010 is 1101.
2. 0100
Adding 3 to each digit, we get: 0100 + 0011 = 0111
Therefore, the excess-3 code for the given binary number 0100 is 0111.
3. 0001
Adding 3 to each digit, we get: 0001 + 0011 = 0100
Therefore, the excess-3 code for the given binary number 0001 is 0100.