That IS the binary code.
Chat with our AI personalities
'2' Decimal code => '10' Binary code.
18 in binary is 10010
3 converted into binary code is 00000011
Binary code of 4 is 0100. To get Excess-3 code, add 11(binary code of 3) to binary code of desired number, here it is 4. Hence, Excess-3 Code for 4 is 0111.
An 8 bit binary code is a code that is 8 digits long. It would look like this: 00110010