What are the required steps to convert base 10 decimal system
number 90 000 012 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;
- 90 000 012 ÷ 2 = 45 000 006 + 0;
- 45 000 006 ÷ 2 = 22 500 003 + 0;
- 22 500 003 ÷ 2 = 11 250 001 + 1;
- 11 250 001 ÷ 2 = 5 625 000 + 1;
- 5 625 000 ÷ 2 = 2 812 500 + 0;
- 2 812 500 ÷ 2 = 1 406 250 + 0;
- 1 406 250 ÷ 2 = 703 125 + 0;
- 703 125 ÷ 2 = 351 562 + 1;
- 351 562 ÷ 2 = 175 781 + 0;
- 175 781 ÷ 2 = 87 890 + 1;
- 87 890 ÷ 2 = 43 945 + 0;
- 43 945 ÷ 2 = 21 972 + 1;
- 21 972 ÷ 2 = 10 986 + 0;
- 10 986 ÷ 2 = 5 493 + 0;
- 5 493 ÷ 2 = 2 746 + 1;
- 2 746 ÷ 2 = 1 373 + 0;
- 1 373 ÷ 2 = 686 + 1;
- 686 ÷ 2 = 343 + 0;
- 343 ÷ 2 = 171 + 1;
- 171 ÷ 2 = 85 + 1;
- 85 ÷ 2 = 42 + 1;
- 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.
90 000 012(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
90 000 012 (base 10) = 101 0101 1101 0100 1010 1000 1100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.