What are the required steps to convert base 10 decimal system
number 111 010 328 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;
- 111 010 328 ÷ 2 = 55 505 164 + 0;
- 55 505 164 ÷ 2 = 27 752 582 + 0;
- 27 752 582 ÷ 2 = 13 876 291 + 0;
- 13 876 291 ÷ 2 = 6 938 145 + 1;
- 6 938 145 ÷ 2 = 3 469 072 + 1;
- 3 469 072 ÷ 2 = 1 734 536 + 0;
- 1 734 536 ÷ 2 = 867 268 + 0;
- 867 268 ÷ 2 = 433 634 + 0;
- 433 634 ÷ 2 = 216 817 + 0;
- 216 817 ÷ 2 = 108 408 + 1;
- 108 408 ÷ 2 = 54 204 + 0;
- 54 204 ÷ 2 = 27 102 + 0;
- 27 102 ÷ 2 = 13 551 + 0;
- 13 551 ÷ 2 = 6 775 + 1;
- 6 775 ÷ 2 = 3 387 + 1;
- 3 387 ÷ 2 = 1 693 + 1;
- 1 693 ÷ 2 = 846 + 1;
- 846 ÷ 2 = 423 + 0;
- 423 ÷ 2 = 211 + 1;
- 211 ÷ 2 = 105 + 1;
- 105 ÷ 2 = 52 + 1;
- 52 ÷ 2 = 26 + 0;
- 26 ÷ 2 = 13 + 0;
- 13 ÷ 2 = 6 + 1;
- 6 ÷ 2 = 3 + 0;
- 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.
111 010 328(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
111 010 328 (base 10) = 110 1001 1101 1110 0010 0001 1000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.