Here are step-by-step instructions on how to convert the decimal number 907 to a binary number.
Step A) Determine if 907 is an even or odd number. If it is even, you assign a 0 and if it is odd you assign a 1.
Step B) Deduct the 1 or 0 in step A from 907 and then divide it by 2. Then, you see if that number is even or odd
and then assign a 0 or 1 like step A.
Step C) Repeat step B with the new number until the number you get is 1.
Step D) Put all the 0s and 1s you assigned in reverse order to get the answer.
To illustrate better, we detailed below how we converted 907 decimal to binary using the steps above.
907 → 1
(907 - 1)/2 = 453 → 1
(453 - 1)/2 = 226 → 0
(226 - 0)/2 = 113 → 1
(113 - 1)/2 = 56 → 0
(56 - 0)/2 = 28 → 0
(28 - 0)/2 = 14 → 0
(14 - 0)/2 = 7 → 1
(7 - 1)/2 = 3 → 1
(3 - 1)/2 = 1 → 1
Then you put the binary number above in reverse order and you get the answer:
1110001011
|
|