What are the required steps to convert base 10 decimal system
number 1 110 100 109 983 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 110 100 109 983 ÷ 2 = 555 050 054 991 + 1;
- 555 050 054 991 ÷ 2 = 277 525 027 495 + 1;
- 277 525 027 495 ÷ 2 = 138 762 513 747 + 1;
- 138 762 513 747 ÷ 2 = 69 381 256 873 + 1;
- 69 381 256 873 ÷ 2 = 34 690 628 436 + 1;
- 34 690 628 436 ÷ 2 = 17 345 314 218 + 0;
- 17 345 314 218 ÷ 2 = 8 672 657 109 + 0;
- 8 672 657 109 ÷ 2 = 4 336 328 554 + 1;
- 4 336 328 554 ÷ 2 = 2 168 164 277 + 0;
- 2 168 164 277 ÷ 2 = 1 084 082 138 + 1;
- 1 084 082 138 ÷ 2 = 542 041 069 + 0;
- 542 041 069 ÷ 2 = 271 020 534 + 1;
- 271 020 534 ÷ 2 = 135 510 267 + 0;
- 135 510 267 ÷ 2 = 67 755 133 + 1;
- 67 755 133 ÷ 2 = 33 877 566 + 1;
- 33 877 566 ÷ 2 = 16 938 783 + 0;
- 16 938 783 ÷ 2 = 8 469 391 + 1;
- 8 469 391 ÷ 2 = 4 234 695 + 1;
- 4 234 695 ÷ 2 = 2 117 347 + 1;
- 2 117 347 ÷ 2 = 1 058 673 + 1;
- 1 058 673 ÷ 2 = 529 336 + 1;
- 529 336 ÷ 2 = 264 668 + 0;
- 264 668 ÷ 2 = 132 334 + 0;
- 132 334 ÷ 2 = 66 167 + 0;
- 66 167 ÷ 2 = 33 083 + 1;
- 33 083 ÷ 2 = 16 541 + 1;
- 16 541 ÷ 2 = 8 270 + 1;
- 8 270 ÷ 2 = 4 135 + 0;
- 4 135 ÷ 2 = 2 067 + 1;
- 2 067 ÷ 2 = 1 033 + 1;
- 1 033 ÷ 2 = 516 + 1;
- 516 ÷ 2 = 258 + 0;
- 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.
1 110 100 109 983(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 110 100 109 983 (base 10) = 1 0000 0010 0111 0111 0001 1111 0110 1010 1001 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.