Professional Documents
Culture Documents
110100
Example of a Binary Number
There is no 2,3,4,5,6,7,8 or 9 in Binary!
We start at 0
Then 1
But then there is no symbol for 2 ... what do we do?
Decimal
0
Well how do we count
in Decimal?
...
9
10
Start at 0
Count 1,2,3,4,5,6,7,8, and then...
This is the last digit in Decimal
So we start back at 0 again, but add 1 on the left
Binary
0
1
10
11
???
Start at 0
Then 1
Now start back at 0 again, but add 1 on the left
1 more
But NOW what ... ?
Decimal
99
100
Binary
0
1
10
11
100
101
110
111
1000
1001
Start at 0
Then 1
Start back at 0 again, but add 1 on the left
start back at 0 again, and add one to the number on the left...
... but that number is already at 1 so it also goes back to 0 ...
... and 1 is added to the next position on the left
0
128 = 2
0
64 = 2
32 = 2
16 = 2
0
0
0
8=2
4=2
2=2
1=2
0
0
0
Decimal vs Binary
Here are some equivalent values:
Decimal: 0 1 2 3
4
5
6
7
8
9
10
11
12
13
14
15
Binary: 0 1 10 11 100 101 110 111 1000 1001 1010 1011 1100 1101 1110 1111
Decimal:
20
25
30
40
50
100
200
500
Binary: 10100 11001 11110 101000 110010 1100100 11001000 111110100
Position
In the Decimal System there are the Units, Tens, Hundreds, etc
In Binary, there are Units, Twos, Fours, etc, like this:
Numbers can be placed to the left or right of the point, to show values greater than one and
less than one.
10.1
The number to the left of the point is a whole number
(such as 10)
Example: 10.1
Words
The word binary comes from "Bi-" meaning two. We see "bi-" in words such as "bicycle"
(two wheels) or "binocular" (two eyes).
When you say a binary number, pronounce each digit (example, the binary
number "101" is spoken as "one zero one", or sometimes "one-oh-one"). This way
people don't get confused with the decimal number.
A single binary digit (like "0" or "1") is called a "bit".
For example 11010 is five bits long.
The word bit is made up from the words "binary digit"
Examples
Example: What is 11112 in Decimal?
The "1" on the left is in the "222" position, so that means 1222 (=8)
The next "1" is in the "22" position, so that means 122 (=4)
The "1" on the left is in the "222" position, so that means 1222 (=8)
The "1" on the left side is in the units position, so that means 1.
The 1 on the right side is in the "halves" position, so that means 1(1/2)
The "1" on the right of the point is in the "halves" position, so that means 1(1/2)
The last "1" on the right side is in the "quarters" position, so that means 1(1/4)