What are the required steps to convert base 10 decimal system
number 87 334 920 to base 2 unsigned binary equivalent?
- A number written in base ten, or a decimal system number, is a number written using the digits 0 through 9. A number written in base two, or a binary system number, is a number written using only the digits 0 and 1.
1. Divide the number repeatedly by 2:
Keep track of each remainder.
Stop when you get a quotient that is equal to zero.
- division = quotient + remainder;
- 87 334 920 ÷ 2 = 43 667 460 + 0;
- 43 667 460 ÷ 2 = 21 833 730 + 0;
- 21 833 730 ÷ 2 = 10 916 865 + 0;
- 10 916 865 ÷ 2 = 5 458 432 + 1;
- 5 458 432 ÷ 2 = 2 729 216 + 0;
- 2 729 216 ÷ 2 = 1 364 608 + 0;
- 1 364 608 ÷ 2 = 682 304 + 0;
- 682 304 ÷ 2 = 341 152 + 0;
- 341 152 ÷ 2 = 170 576 + 0;
- 170 576 ÷ 2 = 85 288 + 0;
- 85 288 ÷ 2 = 42 644 + 0;
- 42 644 ÷ 2 = 21 322 + 0;
- 21 322 ÷ 2 = 10 661 + 0;
- 10 661 ÷ 2 = 5 330 + 1;
- 5 330 ÷ 2 = 2 665 + 0;
- 2 665 ÷ 2 = 1 332 + 1;
- 1 332 ÷ 2 = 666 + 0;
- 666 ÷ 2 = 333 + 0;
- 333 ÷ 2 = 166 + 1;
- 166 ÷ 2 = 83 + 0;
- 83 ÷ 2 = 41 + 1;
- 41 ÷ 2 = 20 + 1;
- 20 ÷ 2 = 10 + 0;
- 10 ÷ 2 = 5 + 0;
- 5 ÷ 2 = 2 + 1;
- 2 ÷ 2 = 1 + 0;
- 1 ÷ 2 = 0 + 1;
2. Construct the base 2 representation of the positive number:
Take all the remainders starting from the bottom of the list constructed above.
87 334 920(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
87 334 920 (base 10) = 101 0011 0100 1010 0000 0000 1000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.