What are the required steps to convert base 10 decimal system
number 11 111 110 110 101 174 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;
- 11 111 110 110 101 174 ÷ 2 = 5 555 555 055 050 587 + 0;
- 5 555 555 055 050 587 ÷ 2 = 2 777 777 527 525 293 + 1;
- 2 777 777 527 525 293 ÷ 2 = 1 388 888 763 762 646 + 1;
- 1 388 888 763 762 646 ÷ 2 = 694 444 381 881 323 + 0;
- 694 444 381 881 323 ÷ 2 = 347 222 190 940 661 + 1;
- 347 222 190 940 661 ÷ 2 = 173 611 095 470 330 + 1;
- 173 611 095 470 330 ÷ 2 = 86 805 547 735 165 + 0;
- 86 805 547 735 165 ÷ 2 = 43 402 773 867 582 + 1;
- 43 402 773 867 582 ÷ 2 = 21 701 386 933 791 + 0;
- 21 701 386 933 791 ÷ 2 = 10 850 693 466 895 + 1;
- 10 850 693 466 895 ÷ 2 = 5 425 346 733 447 + 1;
- 5 425 346 733 447 ÷ 2 = 2 712 673 366 723 + 1;
- 2 712 673 366 723 ÷ 2 = 1 356 336 683 361 + 1;
- 1 356 336 683 361 ÷ 2 = 678 168 341 680 + 1;
- 678 168 341 680 ÷ 2 = 339 084 170 840 + 0;
- 339 084 170 840 ÷ 2 = 169 542 085 420 + 0;
- 169 542 085 420 ÷ 2 = 84 771 042 710 + 0;
- 84 771 042 710 ÷ 2 = 42 385 521 355 + 0;
- 42 385 521 355 ÷ 2 = 21 192 760 677 + 1;
- 21 192 760 677 ÷ 2 = 10 596 380 338 + 1;
- 10 596 380 338 ÷ 2 = 5 298 190 169 + 0;
- 5 298 190 169 ÷ 2 = 2 649 095 084 + 1;
- 2 649 095 084 ÷ 2 = 1 324 547 542 + 0;
- 1 324 547 542 ÷ 2 = 662 273 771 + 0;
- 662 273 771 ÷ 2 = 331 136 885 + 1;
- 331 136 885 ÷ 2 = 165 568 442 + 1;
- 165 568 442 ÷ 2 = 82 784 221 + 0;
- 82 784 221 ÷ 2 = 41 392 110 + 1;
- 41 392 110 ÷ 2 = 20 696 055 + 0;
- 20 696 055 ÷ 2 = 10 348 027 + 1;
- 10 348 027 ÷ 2 = 5 174 013 + 1;
- 5 174 013 ÷ 2 = 2 587 006 + 1;
- 2 587 006 ÷ 2 = 1 293 503 + 0;
- 1 293 503 ÷ 2 = 646 751 + 1;
- 646 751 ÷ 2 = 323 375 + 1;
- 323 375 ÷ 2 = 161 687 + 1;
- 161 687 ÷ 2 = 80 843 + 1;
- 80 843 ÷ 2 = 40 421 + 1;
- 40 421 ÷ 2 = 20 210 + 1;
- 20 210 ÷ 2 = 10 105 + 0;
- 10 105 ÷ 2 = 5 052 + 1;
- 5 052 ÷ 2 = 2 526 + 0;
- 2 526 ÷ 2 = 1 263 + 0;
- 1 263 ÷ 2 = 631 + 1;
- 631 ÷ 2 = 315 + 1;
- 315 ÷ 2 = 157 + 1;
- 157 ÷ 2 = 78 + 1;
- 78 ÷ 2 = 39 + 0;
- 39 ÷ 2 = 19 + 1;
- 19 ÷ 2 = 9 + 1;
- 9 ÷ 2 = 4 + 1;
- 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.
11 111 110 110 101 174(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
11 111 110 110 101 174 (base 10) = 10 0111 0111 1001 0111 1110 1110 1011 0010 1100 0011 1110 1011 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.