What are the required steps to convert base 10 decimal system
number 1 100 110 152 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 110 152 ÷ 2 = 550 055 076 + 0;
- 550 055 076 ÷ 2 = 275 027 538 + 0;
- 275 027 538 ÷ 2 = 137 513 769 + 0;
- 137 513 769 ÷ 2 = 68 756 884 + 1;
- 68 756 884 ÷ 2 = 34 378 442 + 0;
- 34 378 442 ÷ 2 = 17 189 221 + 0;
- 17 189 221 ÷ 2 = 8 594 610 + 1;
- 8 594 610 ÷ 2 = 4 297 305 + 0;
- 4 297 305 ÷ 2 = 2 148 652 + 1;
- 2 148 652 ÷ 2 = 1 074 326 + 0;
- 1 074 326 ÷ 2 = 537 163 + 0;
- 537 163 ÷ 2 = 268 581 + 1;
- 268 581 ÷ 2 = 134 290 + 1;
- 134 290 ÷ 2 = 67 145 + 0;
- 67 145 ÷ 2 = 33 572 + 1;
- 33 572 ÷ 2 = 16 786 + 0;
- 16 786 ÷ 2 = 8 393 + 0;
- 8 393 ÷ 2 = 4 196 + 1;
- 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 110 152(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 100 110 152 (base 10) = 100 0001 1001 0010 0101 1001 0100 1000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.