What are the required steps to convert base 10 decimal system
number 9 500 306 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;
- 9 500 306 ÷ 2 = 4 750 153 + 0;
- 4 750 153 ÷ 2 = 2 375 076 + 1;
- 2 375 076 ÷ 2 = 1 187 538 + 0;
- 1 187 538 ÷ 2 = 593 769 + 0;
- 593 769 ÷ 2 = 296 884 + 1;
- 296 884 ÷ 2 = 148 442 + 0;
- 148 442 ÷ 2 = 74 221 + 0;
- 74 221 ÷ 2 = 37 110 + 1;
- 37 110 ÷ 2 = 18 555 + 0;
- 18 555 ÷ 2 = 9 277 + 1;
- 9 277 ÷ 2 = 4 638 + 1;
- 4 638 ÷ 2 = 2 319 + 0;
- 2 319 ÷ 2 = 1 159 + 1;
- 1 159 ÷ 2 = 579 + 1;
- 579 ÷ 2 = 289 + 1;
- 289 ÷ 2 = 144 + 1;
- 144 ÷ 2 = 72 + 0;
- 72 ÷ 2 = 36 + 0;
- 36 ÷ 2 = 18 + 0;
- 18 ÷ 2 = 9 + 0;
- 9 ÷ 2 = 4 + 1;
- 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.
9 500 306(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
9 500 306 (base 10) = 1001 0000 1111 0110 1001 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.