What are the required steps to convert base 10 decimal system
number 3 332 898 685 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;
- 3 332 898 685 ÷ 2 = 1 666 449 342 + 1;
- 1 666 449 342 ÷ 2 = 833 224 671 + 0;
- 833 224 671 ÷ 2 = 416 612 335 + 1;
- 416 612 335 ÷ 2 = 208 306 167 + 1;
- 208 306 167 ÷ 2 = 104 153 083 + 1;
- 104 153 083 ÷ 2 = 52 076 541 + 1;
- 52 076 541 ÷ 2 = 26 038 270 + 1;
- 26 038 270 ÷ 2 = 13 019 135 + 0;
- 13 019 135 ÷ 2 = 6 509 567 + 1;
- 6 509 567 ÷ 2 = 3 254 783 + 1;
- 3 254 783 ÷ 2 = 1 627 391 + 1;
- 1 627 391 ÷ 2 = 813 695 + 1;
- 813 695 ÷ 2 = 406 847 + 1;
- 406 847 ÷ 2 = 203 423 + 1;
- 203 423 ÷ 2 = 101 711 + 1;
- 101 711 ÷ 2 = 50 855 + 1;
- 50 855 ÷ 2 = 25 427 + 1;
- 25 427 ÷ 2 = 12 713 + 1;
- 12 713 ÷ 2 = 6 356 + 1;
- 6 356 ÷ 2 = 3 178 + 0;
- 3 178 ÷ 2 = 1 589 + 0;
- 1 589 ÷ 2 = 794 + 1;
- 794 ÷ 2 = 397 + 0;
- 397 ÷ 2 = 198 + 1;
- 198 ÷ 2 = 99 + 0;
- 99 ÷ 2 = 49 + 1;
- 49 ÷ 2 = 24 + 1;
- 24 ÷ 2 = 12 + 0;
- 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.
3 332 898 685(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
3 332 898 685 (base 10) = 1100 0110 1010 0111 1111 1111 0111 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.