What are the required steps to convert base 10 decimal system
number 11 101 167 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 101 167 ÷ 2 = 5 550 583 + 1;
- 5 550 583 ÷ 2 = 2 775 291 + 1;
- 2 775 291 ÷ 2 = 1 387 645 + 1;
- 1 387 645 ÷ 2 = 693 822 + 1;
- 693 822 ÷ 2 = 346 911 + 0;
- 346 911 ÷ 2 = 173 455 + 1;
- 173 455 ÷ 2 = 86 727 + 1;
- 86 727 ÷ 2 = 43 363 + 1;
- 43 363 ÷ 2 = 21 681 + 1;
- 21 681 ÷ 2 = 10 840 + 1;
- 10 840 ÷ 2 = 5 420 + 0;
- 5 420 ÷ 2 = 2 710 + 0;
- 2 710 ÷ 2 = 1 355 + 0;
- 1 355 ÷ 2 = 677 + 1;
- 677 ÷ 2 = 338 + 1;
- 338 ÷ 2 = 169 + 0;
- 169 ÷ 2 = 84 + 1;
- 84 ÷ 2 = 42 + 0;
- 42 ÷ 2 = 21 + 0;
- 21 ÷ 2 = 10 + 1;
- 10 ÷ 2 = 5 + 0;
- 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.
11 101 167(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
11 101 167 (base 10) = 1010 1001 0110 0011 1110 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.