(adsbygoogle = window.adsbygoogle || []).push({});
this is how to convert digits into binary
this is without using a magic calculator
skills/items needed:
1. a calculator
2. a number
3. just logic
4. (optional) a notepad or piece of paper and pencil to write the 1's and 0's down
TUTORIAL
so let's say this is our digit:
69
what you do is divide 69 by 2
which on a calculator will give you
34.5
what you do is you take the .5 part and that is your one basically this chart
xx.5 = 1
xx.0 = 0
xx.0 = 0
xx.6 = 1
etc etc.
basically
if the quotient is a whole number = 0
if the quotient is a number with a remainder = 1
so now that you may understand that
what you do now is take the quotient we had from 69/2
34.5
and divide the whole number excluding the remainder by two
34/2 which equals 17
now we have two quotients
34.5 = 1
17 = 0
basically record the remainder as 1 and the whole numbers as 0
so then we divide 17/2 which equals
8.5 = 1
then 8/2
4 = 0
4/2 which equals 2
so
2 = 0
then
2/2 which equals 1
1 = 0
1/2 which equals 0.5
0.5 = 1
0/2 which equals 0
0 = 0
so the final result if you're still with me will be
10100010
then you reverse this
01000101
and that is your answer
don't believe me?
You must login or register to view this content.
so in review
Step 1: Divide the number you want to convert by 2
Step 2: Record the remainder. If there's no remainder, write down 0. If there is a remainder, write down 1.
Step 3: Divide the resulting whole number by 2
Step 4: Repeat the process until you divide 0/2, this is the last answer
Step 5: At the end of the process, just reverse the 1's and 0's and you have your answer.
now you know how to convert decimals to binary using the division method.
what's the use of this?
well you're in the computer programming section. so i'm just showing you how computers speak pretty much in a way that is a little more easy to read.
maybe you can also use this for any class you may take in computers.