What are the required steps to convert base 10 decimal system
number 1 100 000 315 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 000 315 ÷ 2 = 550 000 157 + 1;
- 550 000 157 ÷ 2 = 275 000 078 + 1;
- 275 000 078 ÷ 2 = 137 500 039 + 0;
- 137 500 039 ÷ 2 = 68 750 019 + 1;
- 68 750 019 ÷ 2 = 34 375 009 + 1;
- 34 375 009 ÷ 2 = 17 187 504 + 1;
- 17 187 504 ÷ 2 = 8 593 752 + 0;
- 8 593 752 ÷ 2 = 4 296 876 + 0;
- 4 296 876 ÷ 2 = 2 148 438 + 0;
- 2 148 438 ÷ 2 = 1 074 219 + 0;
- 1 074 219 ÷ 2 = 537 109 + 1;
- 537 109 ÷ 2 = 268 554 + 1;
- 268 554 ÷ 2 = 134 277 + 0;
- 134 277 ÷ 2 = 67 138 + 1;
- 67 138 ÷ 2 = 33 569 + 0;
- 33 569 ÷ 2 = 16 784 + 1;
- 16 784 ÷ 2 = 8 392 + 0;
- 8 392 ÷ 2 = 4 196 + 0;
- 4 196 ÷ 2 = 2 098 + 0;
- 2 098 ÷ 2 = 1 049 + 0;
- 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 000 315(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 100 000 315 (base 10) = 100 0001 1001 0000 1010 1100 0011 1011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.