What are the required steps to convert base 10 decimal system
number 8 477 503 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;
- 8 477 503 ÷ 2 = 4 238 751 + 1;
- 4 238 751 ÷ 2 = 2 119 375 + 1;
- 2 119 375 ÷ 2 = 1 059 687 + 1;
- 1 059 687 ÷ 2 = 529 843 + 1;
- 529 843 ÷ 2 = 264 921 + 1;
- 264 921 ÷ 2 = 132 460 + 1;
- 132 460 ÷ 2 = 66 230 + 0;
- 66 230 ÷ 2 = 33 115 + 0;
- 33 115 ÷ 2 = 16 557 + 1;
- 16 557 ÷ 2 = 8 278 + 1;
- 8 278 ÷ 2 = 4 139 + 0;
- 4 139 ÷ 2 = 2 069 + 1;
- 2 069 ÷ 2 = 1 034 + 1;
- 1 034 ÷ 2 = 517 + 0;
- 517 ÷ 2 = 258 + 1;
- 258 ÷ 2 = 129 + 0;
- 129 ÷ 2 = 64 + 1;
- 64 ÷ 2 = 32 + 0;
- 32 ÷ 2 = 16 + 0;
- 16 ÷ 2 = 8 + 0;
- 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.
8 477 503(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
8 477 503 (base 10) = 1000 0001 0101 1011 0011 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.