What are the required steps to convert base 10 decimal system
number 479 001 398 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;
- 479 001 398 ÷ 2 = 239 500 699 + 0;
- 239 500 699 ÷ 2 = 119 750 349 + 1;
- 119 750 349 ÷ 2 = 59 875 174 + 1;
- 59 875 174 ÷ 2 = 29 937 587 + 0;
- 29 937 587 ÷ 2 = 14 968 793 + 1;
- 14 968 793 ÷ 2 = 7 484 396 + 1;
- 7 484 396 ÷ 2 = 3 742 198 + 0;
- 3 742 198 ÷ 2 = 1 871 099 + 0;
- 1 871 099 ÷ 2 = 935 549 + 1;
- 935 549 ÷ 2 = 467 774 + 1;
- 467 774 ÷ 2 = 233 887 + 0;
- 233 887 ÷ 2 = 116 943 + 1;
- 116 943 ÷ 2 = 58 471 + 1;
- 58 471 ÷ 2 = 29 235 + 1;
- 29 235 ÷ 2 = 14 617 + 1;
- 14 617 ÷ 2 = 7 308 + 1;
- 7 308 ÷ 2 = 3 654 + 0;
- 3 654 ÷ 2 = 1 827 + 0;
- 1 827 ÷ 2 = 913 + 1;
- 913 ÷ 2 = 456 + 1;
- 456 ÷ 2 = 228 + 0;
- 228 ÷ 2 = 114 + 0;
- 114 ÷ 2 = 57 + 0;
- 57 ÷ 2 = 28 + 1;
- 28 ÷ 2 = 14 + 0;
- 14 ÷ 2 = 7 + 0;
- 7 ÷ 2 = 3 + 1;
- 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.
479 001 398(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
479 001 398 (base 10) = 1 1100 1000 1100 1111 1011 0011 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.