What are the required steps to convert base 10 decimal system
number 1 000 101 146 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;
- 1 000 101 146 ÷ 2 = 500 050 573 + 0;
- 500 050 573 ÷ 2 = 250 025 286 + 1;
- 250 025 286 ÷ 2 = 125 012 643 + 0;
- 125 012 643 ÷ 2 = 62 506 321 + 1;
- 62 506 321 ÷ 2 = 31 253 160 + 1;
- 31 253 160 ÷ 2 = 15 626 580 + 0;
- 15 626 580 ÷ 2 = 7 813 290 + 0;
- 7 813 290 ÷ 2 = 3 906 645 + 0;
- 3 906 645 ÷ 2 = 1 953 322 + 1;
- 1 953 322 ÷ 2 = 976 661 + 0;
- 976 661 ÷ 2 = 488 330 + 1;
- 488 330 ÷ 2 = 244 165 + 0;
- 244 165 ÷ 2 = 122 082 + 1;
- 122 082 ÷ 2 = 61 041 + 0;
- 61 041 ÷ 2 = 30 520 + 1;
- 30 520 ÷ 2 = 15 260 + 0;
- 15 260 ÷ 2 = 7 630 + 0;
- 7 630 ÷ 2 = 3 815 + 0;
- 3 815 ÷ 2 = 1 907 + 1;
- 1 907 ÷ 2 = 953 + 1;
- 953 ÷ 2 = 476 + 1;
- 476 ÷ 2 = 238 + 0;
- 238 ÷ 2 = 119 + 0;
- 119 ÷ 2 = 59 + 1;
- 59 ÷ 2 = 29 + 1;
- 29 ÷ 2 = 14 + 1;
- 14 ÷ 2 = 7 + 0;
- 7 ÷ 2 = 3 + 1;
- 3 ÷ 2 = 1 + 1;
- 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.
1 000 101 146(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 000 101 146 (base 10) = 11 1011 1001 1100 0101 0101 0001 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.