What are the required steps to convert base 10 decimal system
number 1 100 481 127 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;
- 1 100 481 127 ÷ 2 = 550 240 563 + 1;
- 550 240 563 ÷ 2 = 275 120 281 + 1;
- 275 120 281 ÷ 2 = 137 560 140 + 1;
- 137 560 140 ÷ 2 = 68 780 070 + 0;
- 68 780 070 ÷ 2 = 34 390 035 + 0;
- 34 390 035 ÷ 2 = 17 195 017 + 1;
- 17 195 017 ÷ 2 = 8 597 508 + 1;
- 8 597 508 ÷ 2 = 4 298 754 + 0;
- 4 298 754 ÷ 2 = 2 149 377 + 0;
- 2 149 377 ÷ 2 = 1 074 688 + 1;
- 1 074 688 ÷ 2 = 537 344 + 0;
- 537 344 ÷ 2 = 268 672 + 0;
- 268 672 ÷ 2 = 134 336 + 0;
- 134 336 ÷ 2 = 67 168 + 0;
- 67 168 ÷ 2 = 33 584 + 0;
- 33 584 ÷ 2 = 16 792 + 0;
- 16 792 ÷ 2 = 8 396 + 0;
- 8 396 ÷ 2 = 4 198 + 0;
- 4 198 ÷ 2 = 2 099 + 0;
- 2 099 ÷ 2 = 1 049 + 1;
- 1 049 ÷ 2 = 524 + 1;
- 524 ÷ 2 = 262 + 0;
- 262 ÷ 2 = 131 + 0;
- 131 ÷ 2 = 65 + 1;
- 65 ÷ 2 = 32 + 1;
- 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.
1 100 481 127(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 100 481 127 (base 10) = 100 0001 1001 1000 0000 0010 0110 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.