What are the required steps to convert base 10 decimal system
number 212 020 538 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 020 538 ÷ 2 = 106 010 269 + 0;
- 106 010 269 ÷ 2 = 53 005 134 + 1;
- 53 005 134 ÷ 2 = 26 502 567 + 0;
- 26 502 567 ÷ 2 = 13 251 283 + 1;
- 13 251 283 ÷ 2 = 6 625 641 + 1;
- 6 625 641 ÷ 2 = 3 312 820 + 1;
- 3 312 820 ÷ 2 = 1 656 410 + 0;
- 1 656 410 ÷ 2 = 828 205 + 0;
- 828 205 ÷ 2 = 414 102 + 1;
- 414 102 ÷ 2 = 207 051 + 0;
- 207 051 ÷ 2 = 103 525 + 1;
- 103 525 ÷ 2 = 51 762 + 1;
- 51 762 ÷ 2 = 25 881 + 0;
- 25 881 ÷ 2 = 12 940 + 1;
- 12 940 ÷ 2 = 6 470 + 0;
- 6 470 ÷ 2 = 3 235 + 0;
- 3 235 ÷ 2 = 1 617 + 1;
- 1 617 ÷ 2 = 808 + 1;
- 808 ÷ 2 = 404 + 0;
- 404 ÷ 2 = 202 + 0;
- 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 020 538(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
212 020 538 (base 10) = 1100 1010 0011 0010 1101 0011 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.