binary is base two, meaning is doubles each column move left
128th place, 64th place, 32th place, 16th place, 8th place, 4th place, 2th place, 1th place
so 0010
is 2
so 0001
is 1
so 0100
is 4
so 0101
is 5
so 0110
is 6
011011
is 27
any binary number can be converted to decimal, decimal is base 10
adding binary numbers:
0101 + 1000 = 1101 = 13
0110 + 0111 = 1 + 4 + 8 = 13 = 1101
evaluate each binary number separately, then evaluate the sum
also vaguely equiv. to on, off
0-15 from binary to decimal:
0000 = 0
0001 = 1
0010 = 2
0011 = 3
0100 = 4
0101 = 5
0110 = 6
0111 = 7
1000 = 8
1001 = 9
1010 = 10
1011 = 11
1100 = 12
1101 = 13
1110 = 14
1111 = 15
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.