What are the required steps to convert base 10 decimal system
number 1 110 010 110 777 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;
- 1 110 010 110 777 ÷ 2 = 555 005 055 388 + 1;
- 555 005 055 388 ÷ 2 = 277 502 527 694 + 0;
- 277 502 527 694 ÷ 2 = 138 751 263 847 + 0;
- 138 751 263 847 ÷ 2 = 69 375 631 923 + 1;
- 69 375 631 923 ÷ 2 = 34 687 815 961 + 1;
- 34 687 815 961 ÷ 2 = 17 343 907 980 + 1;
- 17 343 907 980 ÷ 2 = 8 671 953 990 + 0;
- 8 671 953 990 ÷ 2 = 4 335 976 995 + 0;
- 4 335 976 995 ÷ 2 = 2 167 988 497 + 1;
- 2 167 988 497 ÷ 2 = 1 083 994 248 + 1;
- 1 083 994 248 ÷ 2 = 541 997 124 + 0;
- 541 997 124 ÷ 2 = 270 998 562 + 0;
- 270 998 562 ÷ 2 = 135 499 281 + 0;
- 135 499 281 ÷ 2 = 67 749 640 + 1;
- 67 749 640 ÷ 2 = 33 874 820 + 0;
- 33 874 820 ÷ 2 = 16 937 410 + 0;
- 16 937 410 ÷ 2 = 8 468 705 + 0;
- 8 468 705 ÷ 2 = 4 234 352 + 1;
- 4 234 352 ÷ 2 = 2 117 176 + 0;
- 2 117 176 ÷ 2 = 1 058 588 + 0;
- 1 058 588 ÷ 2 = 529 294 + 0;
- 529 294 ÷ 2 = 264 647 + 0;
- 264 647 ÷ 2 = 132 323 + 1;
- 132 323 ÷ 2 = 66 161 + 1;
- 66 161 ÷ 2 = 33 080 + 1;
- 33 080 ÷ 2 = 16 540 + 0;
- 16 540 ÷ 2 = 8 270 + 0;
- 8 270 ÷ 2 = 4 135 + 0;
- 4 135 ÷ 2 = 2 067 + 1;
- 2 067 ÷ 2 = 1 033 + 1;
- 1 033 ÷ 2 = 516 + 1;
- 516 ÷ 2 = 258 + 0;
- 258 ÷ 2 = 129 + 0;
- 129 ÷ 2 = 64 + 1;
- 64 ÷ 2 = 32 + 0;
- 32 ÷ 2 = 16 + 0;
- 16 ÷ 2 = 8 + 0;
- 8 ÷ 2 = 4 + 0;
- 4 ÷ 2 = 2 + 0;
- 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.
1 110 010 110 777(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 110 010 110 777 (base 10) = 1 0000 0010 0111 0001 1100 0010 0010 0011 0011 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.