What are the required steps to convert base 10 decimal system
number 11 110 111 111 110 135 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 110 111 111 110 135 ÷ 2 = 5 555 055 555 555 067 + 1;
- 5 555 055 555 555 067 ÷ 2 = 2 777 527 777 777 533 + 1;
- 2 777 527 777 777 533 ÷ 2 = 1 388 763 888 888 766 + 1;
- 1 388 763 888 888 766 ÷ 2 = 694 381 944 444 383 + 0;
- 694 381 944 444 383 ÷ 2 = 347 190 972 222 191 + 1;
- 347 190 972 222 191 ÷ 2 = 173 595 486 111 095 + 1;
- 173 595 486 111 095 ÷ 2 = 86 797 743 055 547 + 1;
- 86 797 743 055 547 ÷ 2 = 43 398 871 527 773 + 1;
- 43 398 871 527 773 ÷ 2 = 21 699 435 763 886 + 1;
- 21 699 435 763 886 ÷ 2 = 10 849 717 881 943 + 0;
- 10 849 717 881 943 ÷ 2 = 5 424 858 940 971 + 1;
- 5 424 858 940 971 ÷ 2 = 2 712 429 470 485 + 1;
- 2 712 429 470 485 ÷ 2 = 1 356 214 735 242 + 1;
- 1 356 214 735 242 ÷ 2 = 678 107 367 621 + 0;
- 678 107 367 621 ÷ 2 = 339 053 683 810 + 1;
- 339 053 683 810 ÷ 2 = 169 526 841 905 + 0;
- 169 526 841 905 ÷ 2 = 84 763 420 952 + 1;
- 84 763 420 952 ÷ 2 = 42 381 710 476 + 0;
- 42 381 710 476 ÷ 2 = 21 190 855 238 + 0;
- 21 190 855 238 ÷ 2 = 10 595 427 619 + 0;
- 10 595 427 619 ÷ 2 = 5 297 713 809 + 1;
- 5 297 713 809 ÷ 2 = 2 648 856 904 + 1;
- 2 648 856 904 ÷ 2 = 1 324 428 452 + 0;
- 1 324 428 452 ÷ 2 = 662 214 226 + 0;
- 662 214 226 ÷ 2 = 331 107 113 + 0;
- 331 107 113 ÷ 2 = 165 553 556 + 1;
- 165 553 556 ÷ 2 = 82 776 778 + 0;
- 82 776 778 ÷ 2 = 41 388 389 + 0;
- 41 388 389 ÷ 2 = 20 694 194 + 1;
- 20 694 194 ÷ 2 = 10 347 097 + 0;
- 10 347 097 ÷ 2 = 5 173 548 + 1;
- 5 173 548 ÷ 2 = 2 586 774 + 0;
- 2 586 774 ÷ 2 = 1 293 387 + 0;
- 1 293 387 ÷ 2 = 646 693 + 1;
- 646 693 ÷ 2 = 323 346 + 1;
- 323 346 ÷ 2 = 161 673 + 0;
- 161 673 ÷ 2 = 80 836 + 1;
- 80 836 ÷ 2 = 40 418 + 0;
- 40 418 ÷ 2 = 20 209 + 0;
- 20 209 ÷ 2 = 10 104 + 1;
- 10 104 ÷ 2 = 5 052 + 0;
- 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 110 111 111 110 135(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
11 110 111 111 110 135 (base 10) = 10 0111 0111 1000 1001 0110 0101 0010 0011 0001 0101 1101 1111 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.