What are the required steps to convert base 10 decimal system
number 678 975 604 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;
- 678 975 604 ÷ 2 = 339 487 802 + 0;
- 339 487 802 ÷ 2 = 169 743 901 + 0;
- 169 743 901 ÷ 2 = 84 871 950 + 1;
- 84 871 950 ÷ 2 = 42 435 975 + 0;
- 42 435 975 ÷ 2 = 21 217 987 + 1;
- 21 217 987 ÷ 2 = 10 608 993 + 1;
- 10 608 993 ÷ 2 = 5 304 496 + 1;
- 5 304 496 ÷ 2 = 2 652 248 + 0;
- 2 652 248 ÷ 2 = 1 326 124 + 0;
- 1 326 124 ÷ 2 = 663 062 + 0;
- 663 062 ÷ 2 = 331 531 + 0;
- 331 531 ÷ 2 = 165 765 + 1;
- 165 765 ÷ 2 = 82 882 + 1;
- 82 882 ÷ 2 = 41 441 + 0;
- 41 441 ÷ 2 = 20 720 + 1;
- 20 720 ÷ 2 = 10 360 + 0;
- 10 360 ÷ 2 = 5 180 + 0;
- 5 180 ÷ 2 = 2 590 + 0;
- 2 590 ÷ 2 = 1 295 + 0;
- 1 295 ÷ 2 = 647 + 1;
- 647 ÷ 2 = 323 + 1;
- 323 ÷ 2 = 161 + 1;
- 161 ÷ 2 = 80 + 1;
- 80 ÷ 2 = 40 + 0;
- 40 ÷ 2 = 20 + 0;
- 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.
678 975 604(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
678 975 604 (base 10) = 10 1000 0111 1000 0101 1000 0111 0100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.