What are the required steps to convert base 10 decimal system
number 1 101 111 010 110 158 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 101 111 010 110 158 ÷ 2 = 550 555 505 055 079 + 0;
- 550 555 505 055 079 ÷ 2 = 275 277 752 527 539 + 1;
- 275 277 752 527 539 ÷ 2 = 137 638 876 263 769 + 1;
- 137 638 876 263 769 ÷ 2 = 68 819 438 131 884 + 1;
- 68 819 438 131 884 ÷ 2 = 34 409 719 065 942 + 0;
- 34 409 719 065 942 ÷ 2 = 17 204 859 532 971 + 0;
- 17 204 859 532 971 ÷ 2 = 8 602 429 766 485 + 1;
- 8 602 429 766 485 ÷ 2 = 4 301 214 883 242 + 1;
- 4 301 214 883 242 ÷ 2 = 2 150 607 441 621 + 0;
- 2 150 607 441 621 ÷ 2 = 1 075 303 720 810 + 1;
- 1 075 303 720 810 ÷ 2 = 537 651 860 405 + 0;
- 537 651 860 405 ÷ 2 = 268 825 930 202 + 1;
- 268 825 930 202 ÷ 2 = 134 412 965 101 + 0;
- 134 412 965 101 ÷ 2 = 67 206 482 550 + 1;
- 67 206 482 550 ÷ 2 = 33 603 241 275 + 0;
- 33 603 241 275 ÷ 2 = 16 801 620 637 + 1;
- 16 801 620 637 ÷ 2 = 8 400 810 318 + 1;
- 8 400 810 318 ÷ 2 = 4 200 405 159 + 0;
- 4 200 405 159 ÷ 2 = 2 100 202 579 + 1;
- 2 100 202 579 ÷ 2 = 1 050 101 289 + 1;
- 1 050 101 289 ÷ 2 = 525 050 644 + 1;
- 525 050 644 ÷ 2 = 262 525 322 + 0;
- 262 525 322 ÷ 2 = 131 262 661 + 0;
- 131 262 661 ÷ 2 = 65 631 330 + 1;
- 65 631 330 ÷ 2 = 32 815 665 + 0;
- 32 815 665 ÷ 2 = 16 407 832 + 1;
- 16 407 832 ÷ 2 = 8 203 916 + 0;
- 8 203 916 ÷ 2 = 4 101 958 + 0;
- 4 101 958 ÷ 2 = 2 050 979 + 0;
- 2 050 979 ÷ 2 = 1 025 489 + 1;
- 1 025 489 ÷ 2 = 512 744 + 1;
- 512 744 ÷ 2 = 256 372 + 0;
- 256 372 ÷ 2 = 128 186 + 0;
- 128 186 ÷ 2 = 64 093 + 0;
- 64 093 ÷ 2 = 32 046 + 1;
- 32 046 ÷ 2 = 16 023 + 0;
- 16 023 ÷ 2 = 8 011 + 1;
- 8 011 ÷ 2 = 4 005 + 1;
- 4 005 ÷ 2 = 2 002 + 1;
- 2 002 ÷ 2 = 1 001 + 0;
- 1 001 ÷ 2 = 500 + 1;
- 500 ÷ 2 = 250 + 0;
- 250 ÷ 2 = 125 + 0;
- 125 ÷ 2 = 62 + 1;
- 62 ÷ 2 = 31 + 0;
- 31 ÷ 2 = 15 + 1;
- 15 ÷ 2 = 7 + 1;
- 7 ÷ 2 = 3 + 1;
- 3 ÷ 2 = 1 + 1;
- 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 101 111 010 110 158(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 101 111 010 110 158 (base 10) = 11 1110 1001 0111 0100 0110 0010 1001 1101 1010 1010 1100 1110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.