What are the required steps to convert base 10 decimal system
number 100 010 010 727 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;
- 100 010 010 727 ÷ 2 = 50 005 005 363 + 1;
- 50 005 005 363 ÷ 2 = 25 002 502 681 + 1;
- 25 002 502 681 ÷ 2 = 12 501 251 340 + 1;
- 12 501 251 340 ÷ 2 = 6 250 625 670 + 0;
- 6 250 625 670 ÷ 2 = 3 125 312 835 + 0;
- 3 125 312 835 ÷ 2 = 1 562 656 417 + 1;
- 1 562 656 417 ÷ 2 = 781 328 208 + 1;
- 781 328 208 ÷ 2 = 390 664 104 + 0;
- 390 664 104 ÷ 2 = 195 332 052 + 0;
- 195 332 052 ÷ 2 = 97 666 026 + 0;
- 97 666 026 ÷ 2 = 48 833 013 + 0;
- 48 833 013 ÷ 2 = 24 416 506 + 1;
- 24 416 506 ÷ 2 = 12 208 253 + 0;
- 12 208 253 ÷ 2 = 6 104 126 + 1;
- 6 104 126 ÷ 2 = 3 052 063 + 0;
- 3 052 063 ÷ 2 = 1 526 031 + 1;
- 1 526 031 ÷ 2 = 763 015 + 1;
- 763 015 ÷ 2 = 381 507 + 1;
- 381 507 ÷ 2 = 190 753 + 1;
- 190 753 ÷ 2 = 95 376 + 1;
- 95 376 ÷ 2 = 47 688 + 0;
- 47 688 ÷ 2 = 23 844 + 0;
- 23 844 ÷ 2 = 11 922 + 0;
- 11 922 ÷ 2 = 5 961 + 0;
- 5 961 ÷ 2 = 2 980 + 1;
- 2 980 ÷ 2 = 1 490 + 0;
- 1 490 ÷ 2 = 745 + 0;
- 745 ÷ 2 = 372 + 1;
- 372 ÷ 2 = 186 + 0;
- 186 ÷ 2 = 93 + 0;
- 93 ÷ 2 = 46 + 1;
- 46 ÷ 2 = 23 + 0;
- 23 ÷ 2 = 11 + 1;
- 11 ÷ 2 = 5 + 1;
- 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.
100 010 010 727(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
100 010 010 727 (base 10) = 1 0111 0100 1001 0000 1111 1010 1000 0110 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.