What are the required steps to convert base 10 decimal system
number 212 430 626 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;
- 212 430 626 ÷ 2 = 106 215 313 + 0;
- 106 215 313 ÷ 2 = 53 107 656 + 1;
- 53 107 656 ÷ 2 = 26 553 828 + 0;
- 26 553 828 ÷ 2 = 13 276 914 + 0;
- 13 276 914 ÷ 2 = 6 638 457 + 0;
- 6 638 457 ÷ 2 = 3 319 228 + 1;
- 3 319 228 ÷ 2 = 1 659 614 + 0;
- 1 659 614 ÷ 2 = 829 807 + 0;
- 829 807 ÷ 2 = 414 903 + 1;
- 414 903 ÷ 2 = 207 451 + 1;
- 207 451 ÷ 2 = 103 725 + 1;
- 103 725 ÷ 2 = 51 862 + 1;
- 51 862 ÷ 2 = 25 931 + 0;
- 25 931 ÷ 2 = 12 965 + 1;
- 12 965 ÷ 2 = 6 482 + 1;
- 6 482 ÷ 2 = 3 241 + 0;
- 3 241 ÷ 2 = 1 620 + 1;
- 1 620 ÷ 2 = 810 + 0;
- 810 ÷ 2 = 405 + 0;
- 405 ÷ 2 = 202 + 1;
- 202 ÷ 2 = 101 + 0;
- 101 ÷ 2 = 50 + 1;
- 50 ÷ 2 = 25 + 0;
- 25 ÷ 2 = 12 + 1;
- 12 ÷ 2 = 6 + 0;
- 6 ÷ 2 = 3 + 0;
- 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.
212 430 626(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
212 430 626 (base 10) = 1100 1010 1001 0110 1111 0010 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.