What are the required steps to convert base 10 decimal system
number 100 101 110 118 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 101 110 118 ÷ 2 = 50 050 555 059 + 0;
- 50 050 555 059 ÷ 2 = 25 025 277 529 + 1;
- 25 025 277 529 ÷ 2 = 12 512 638 764 + 1;
- 12 512 638 764 ÷ 2 = 6 256 319 382 + 0;
- 6 256 319 382 ÷ 2 = 3 128 159 691 + 0;
- 3 128 159 691 ÷ 2 = 1 564 079 845 + 1;
- 1 564 079 845 ÷ 2 = 782 039 922 + 1;
- 782 039 922 ÷ 2 = 391 019 961 + 0;
- 391 019 961 ÷ 2 = 195 509 980 + 1;
- 195 509 980 ÷ 2 = 97 754 990 + 0;
- 97 754 990 ÷ 2 = 48 877 495 + 0;
- 48 877 495 ÷ 2 = 24 438 747 + 1;
- 24 438 747 ÷ 2 = 12 219 373 + 1;
- 12 219 373 ÷ 2 = 6 109 686 + 1;
- 6 109 686 ÷ 2 = 3 054 843 + 0;
- 3 054 843 ÷ 2 = 1 527 421 + 1;
- 1 527 421 ÷ 2 = 763 710 + 1;
- 763 710 ÷ 2 = 381 855 + 0;
- 381 855 ÷ 2 = 190 927 + 1;
- 190 927 ÷ 2 = 95 463 + 1;
- 95 463 ÷ 2 = 47 731 + 1;
- 47 731 ÷ 2 = 23 865 + 1;
- 23 865 ÷ 2 = 11 932 + 1;
- 11 932 ÷ 2 = 5 966 + 0;
- 5 966 ÷ 2 = 2 983 + 0;
- 2 983 ÷ 2 = 1 491 + 1;
- 1 491 ÷ 2 = 745 + 1;
- 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 101 110 118(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
100 101 110 118 (base 10) = 1 0111 0100 1110 0111 1101 1011 1001 0110 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.