What are the required steps to convert base 10 decimal system
number 2 310 352 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;
- 2 310 352 ÷ 2 = 1 155 176 + 0;
- 1 155 176 ÷ 2 = 577 588 + 0;
- 577 588 ÷ 2 = 288 794 + 0;
- 288 794 ÷ 2 = 144 397 + 0;
- 144 397 ÷ 2 = 72 198 + 1;
- 72 198 ÷ 2 = 36 099 + 0;
- 36 099 ÷ 2 = 18 049 + 1;
- 18 049 ÷ 2 = 9 024 + 1;
- 9 024 ÷ 2 = 4 512 + 0;
- 4 512 ÷ 2 = 2 256 + 0;
- 2 256 ÷ 2 = 1 128 + 0;
- 1 128 ÷ 2 = 564 + 0;
- 564 ÷ 2 = 282 + 0;
- 282 ÷ 2 = 141 + 0;
- 141 ÷ 2 = 70 + 1;
- 70 ÷ 2 = 35 + 0;
- 35 ÷ 2 = 17 + 1;
- 17 ÷ 2 = 8 + 1;
- 8 ÷ 2 = 4 + 0;
- 4 ÷ 2 = 2 + 0;
- 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.
2 310 352(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 310 352 (base 10) = 10 0011 0100 0000 1101 0000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.