What are the required steps to convert base 10 decimal system
number 210 370 546 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;
- 210 370 546 ÷ 2 = 105 185 273 + 0;
- 105 185 273 ÷ 2 = 52 592 636 + 1;
- 52 592 636 ÷ 2 = 26 296 318 + 0;
- 26 296 318 ÷ 2 = 13 148 159 + 0;
- 13 148 159 ÷ 2 = 6 574 079 + 1;
- 6 574 079 ÷ 2 = 3 287 039 + 1;
- 3 287 039 ÷ 2 = 1 643 519 + 1;
- 1 643 519 ÷ 2 = 821 759 + 1;
- 821 759 ÷ 2 = 410 879 + 1;
- 410 879 ÷ 2 = 205 439 + 1;
- 205 439 ÷ 2 = 102 719 + 1;
- 102 719 ÷ 2 = 51 359 + 1;
- 51 359 ÷ 2 = 25 679 + 1;
- 25 679 ÷ 2 = 12 839 + 1;
- 12 839 ÷ 2 = 6 419 + 1;
- 6 419 ÷ 2 = 3 209 + 1;
- 3 209 ÷ 2 = 1 604 + 1;
- 1 604 ÷ 2 = 802 + 0;
- 802 ÷ 2 = 401 + 0;
- 401 ÷ 2 = 200 + 1;
- 200 ÷ 2 = 100 + 0;
- 100 ÷ 2 = 50 + 0;
- 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.
210 370 546(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
210 370 546 (base 10) = 1100 1000 1001 1111 1111 1111 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.