Binary has a base number of 2.
Decimal - 1 2 3 4 5 6 7 8 9 10
Binary- 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010
1 Binary unit = 1 bit
Decimal to Binary:
Divide decimal number by two.
Continue to divide the results by two until you reach zero.
Throw away any remainder you get before the next division.
Write 0 when you get a whole and 1 when you get a remainder.
Write this right to left in order.
Binary to Decimal:
Take each binary number and consider how each digit is expressed as a power of two.
Identify which digits have a 1.
Add up the power of two numbers which fall under ones.
My Birthday in Binary = 23/05/2002 = 10111/101/00000101100
My name in Binary = Archie = 1 10010 11 1000 1001 101
Comments