What are the required steps to convert base 10 decimal system
number 10 934 561 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;
- 10 934 561 ÷ 2 = 5 467 280 + 1;
- 5 467 280 ÷ 2 = 2 733 640 + 0;
- 2 733 640 ÷ 2 = 1 366 820 + 0;
- 1 366 820 ÷ 2 = 683 410 + 0;
- 683 410 ÷ 2 = 341 705 + 0;
- 341 705 ÷ 2 = 170 852 + 1;
- 170 852 ÷ 2 = 85 426 + 0;
- 85 426 ÷ 2 = 42 713 + 0;
- 42 713 ÷ 2 = 21 356 + 1;
- 21 356 ÷ 2 = 10 678 + 0;
- 10 678 ÷ 2 = 5 339 + 0;
- 5 339 ÷ 2 = 2 669 + 1;
- 2 669 ÷ 2 = 1 334 + 1;
- 1 334 ÷ 2 = 667 + 0;
- 667 ÷ 2 = 333 + 1;
- 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.
10 934 561(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
10 934 561 (base 10) = 1010 0110 1101 1001 0010 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.