What are the required steps to convert base 10 decimal system
number 9 499 823 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 499 823 ÷ 2 = 4 749 911 + 1;
- 4 749 911 ÷ 2 = 2 374 955 + 1;
- 2 374 955 ÷ 2 = 1 187 477 + 1;
- 1 187 477 ÷ 2 = 593 738 + 1;
- 593 738 ÷ 2 = 296 869 + 0;
- 296 869 ÷ 2 = 148 434 + 1;
- 148 434 ÷ 2 = 74 217 + 0;
- 74 217 ÷ 2 = 37 108 + 1;
- 37 108 ÷ 2 = 18 554 + 0;
- 18 554 ÷ 2 = 9 277 + 0;
- 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 499 823(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
9 499 823 (base 10) = 1001 0000 1111 0100 1010 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.