Advantage of binary over decimal: information can be recorded and stored in any dichotomous variable: magnetised or not magnetised (most electronic media), pit or no pit (optoelectronic media CDs/DVDs). For decimal it would be necessary to store as 10 different levels of magnetisation or depths of pits. Not so easy to make such a system error-free.
Advantage of decimal over binary: fewer "digits" required. Every ten binary digits (1024 values) can be replaced by just a shade more than three decimal digits (1000 values). So the number of digits to be stored is less than a third.
1111 in binary is 15 in decimal.
The number 47 in binary would be 101111
decimal value of 43
This is in Binary Code. I think you mean, what is it in decimal. 010111 is 1 + 10+100 + 10000 2^0 +2^1 + 2^2 + 2^4 = 1 + 2 + 4 +16 = 23 in Decimal.
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.
Decimal 30 = binary 11110. The decimal binary code (BCD), however, is 11 0000.
1111 in binary is 15 in decimal.
In hexadecimal, that would be 0x2E, which is equivalent to 46 in decimal, which in binary is 101110.
The binary system requires only two digits. It is, therefore, simpler to code numbers for electrical, electronic or optical data storage systems.
1000011
Decimal 37 expressed in binary form is 100101 (or 00100101).
In decimal it is 170. It is the ASCII code for the ¬ character.
You can easily convert decimal to binary in the scientific calculator - for example, the scientific calculator found in Windows. In this case, type the number in decimal, then click on "binary" to convert to binary.
The number 47 in binary would be 101111
(27)decimal = (1 1 0 1 1)binary
It is 101010.0011 0011 0011 ...
decimal value of 43