1
Make sure you read the readings on binary numbers pg 100101. You are
responsible for knowing how to convert a decimal number to a binary and
viceversa.
Let’s look at some examples:
Binary to Decimal:
Convert 10110101 to decimal: Set up your “scale” so that each digit on the
binary number matches a number on your scale
128
64
32 16
8
4
2
1
1
0
1
1
0
1
0
1
Add the numbers that match the “ones” in your binary: 128+32+16+4+1 = 181
Decimal to Binary
:
Convert 156 to binary: Set up your “scale” so that the first number on the left is
the largest power of two that is still contained in the number you are dealing
with. Then subtract the largest number on your “scale” from your decimal
number: 156128=28
and put a “1” under 128.
Look for the next number on
you scale that is contained in what is left: 28
16=12 put a “1” under 16. Repeat
this until you have nothing left: 128=4 put a 1 under 8; 44=0 put a 1 under 4:
128
64
32 16
8
4
2
1
1
0
0
1
1
1
0
0
So, the binary for 156 is 10011100
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document2
Also, you are responsible for knowing how to add and multiply binary
This is the end of the preview.
Sign up
to
access the rest of the document.
 Summer '08
 Staff
 Binary numeral system, Decimal, Ptolomeic tomb paining, Leonard Digges

Click to edit the document details