What are the required steps to convert base 10 decimal system
number 996 432 666 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;
- 996 432 666 ÷ 2 = 498 216 333 + 0;
- 498 216 333 ÷ 2 = 249 108 166 + 1;
- 249 108 166 ÷ 2 = 124 554 083 + 0;
- 124 554 083 ÷ 2 = 62 277 041 + 1;
- 62 277 041 ÷ 2 = 31 138 520 + 1;
- 31 138 520 ÷ 2 = 15 569 260 + 0;
- 15 569 260 ÷ 2 = 7 784 630 + 0;
- 7 784 630 ÷ 2 = 3 892 315 + 0;
- 3 892 315 ÷ 2 = 1 946 157 + 1;
- 1 946 157 ÷ 2 = 973 078 + 1;
- 973 078 ÷ 2 = 486 539 + 0;
- 486 539 ÷ 2 = 243 269 + 1;
- 243 269 ÷ 2 = 121 634 + 1;
- 121 634 ÷ 2 = 60 817 + 0;
- 60 817 ÷ 2 = 30 408 + 1;
- 30 408 ÷ 2 = 15 204 + 0;
- 15 204 ÷ 2 = 7 602 + 0;
- 7 602 ÷ 2 = 3 801 + 0;
- 3 801 ÷ 2 = 1 900 + 1;
- 1 900 ÷ 2 = 950 + 0;
- 950 ÷ 2 = 475 + 0;
- 475 ÷ 2 = 237 + 1;
- 237 ÷ 2 = 118 + 1;
- 118 ÷ 2 = 59 + 0;
- 59 ÷ 2 = 29 + 1;
- 29 ÷ 2 = 14 + 1;
- 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.
996 432 666(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
996 432 666 (base 10) = 11 1011 0110 0100 0101 1011 0001 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.