What are the required steps to convert base 10 decimal system
number 101 111 001 249 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;
- 101 111 001 249 ÷ 2 = 50 555 500 624 + 1;
- 50 555 500 624 ÷ 2 = 25 277 750 312 + 0;
- 25 277 750 312 ÷ 2 = 12 638 875 156 + 0;
- 12 638 875 156 ÷ 2 = 6 319 437 578 + 0;
- 6 319 437 578 ÷ 2 = 3 159 718 789 + 0;
- 3 159 718 789 ÷ 2 = 1 579 859 394 + 1;
- 1 579 859 394 ÷ 2 = 789 929 697 + 0;
- 789 929 697 ÷ 2 = 394 964 848 + 1;
- 394 964 848 ÷ 2 = 197 482 424 + 0;
- 197 482 424 ÷ 2 = 98 741 212 + 0;
- 98 741 212 ÷ 2 = 49 370 606 + 0;
- 49 370 606 ÷ 2 = 24 685 303 + 0;
- 24 685 303 ÷ 2 = 12 342 651 + 1;
- 12 342 651 ÷ 2 = 6 171 325 + 1;
- 6 171 325 ÷ 2 = 3 085 662 + 1;
- 3 085 662 ÷ 2 = 1 542 831 + 0;
- 1 542 831 ÷ 2 = 771 415 + 1;
- 771 415 ÷ 2 = 385 707 + 1;
- 385 707 ÷ 2 = 192 853 + 1;
- 192 853 ÷ 2 = 96 426 + 1;
- 96 426 ÷ 2 = 48 213 + 0;
- 48 213 ÷ 2 = 24 106 + 1;
- 24 106 ÷ 2 = 12 053 + 0;
- 12 053 ÷ 2 = 6 026 + 1;
- 6 026 ÷ 2 = 3 013 + 0;
- 3 013 ÷ 2 = 1 506 + 1;
- 1 506 ÷ 2 = 753 + 0;
- 753 ÷ 2 = 376 + 1;
- 376 ÷ 2 = 188 + 0;
- 188 ÷ 2 = 94 + 0;
- 94 ÷ 2 = 47 + 0;
- 47 ÷ 2 = 23 + 1;
- 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.
101 111 001 249(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
101 111 001 249 (base 10) = 1 0111 1000 1010 1010 1111 0111 0000 1010 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.