What are the required steps to convert base 10 decimal system
number 100 110 011 111 199 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;
- 100 110 011 111 199 ÷ 2 = 50 055 005 555 599 + 1;
- 50 055 005 555 599 ÷ 2 = 25 027 502 777 799 + 1;
- 25 027 502 777 799 ÷ 2 = 12 513 751 388 899 + 1;
- 12 513 751 388 899 ÷ 2 = 6 256 875 694 449 + 1;
- 6 256 875 694 449 ÷ 2 = 3 128 437 847 224 + 1;
- 3 128 437 847 224 ÷ 2 = 1 564 218 923 612 + 0;
- 1 564 218 923 612 ÷ 2 = 782 109 461 806 + 0;
- 782 109 461 806 ÷ 2 = 391 054 730 903 + 0;
- 391 054 730 903 ÷ 2 = 195 527 365 451 + 1;
- 195 527 365 451 ÷ 2 = 97 763 682 725 + 1;
- 97 763 682 725 ÷ 2 = 48 881 841 362 + 1;
- 48 881 841 362 ÷ 2 = 24 440 920 681 + 0;
- 24 440 920 681 ÷ 2 = 12 220 460 340 + 1;
- 12 220 460 340 ÷ 2 = 6 110 230 170 + 0;
- 6 110 230 170 ÷ 2 = 3 055 115 085 + 0;
- 3 055 115 085 ÷ 2 = 1 527 557 542 + 1;
- 1 527 557 542 ÷ 2 = 763 778 771 + 0;
- 763 778 771 ÷ 2 = 381 889 385 + 1;
- 381 889 385 ÷ 2 = 190 944 692 + 1;
- 190 944 692 ÷ 2 = 95 472 346 + 0;
- 95 472 346 ÷ 2 = 47 736 173 + 0;
- 47 736 173 ÷ 2 = 23 868 086 + 1;
- 23 868 086 ÷ 2 = 11 934 043 + 0;
- 11 934 043 ÷ 2 = 5 967 021 + 1;
- 5 967 021 ÷ 2 = 2 983 510 + 1;
- 2 983 510 ÷ 2 = 1 491 755 + 0;
- 1 491 755 ÷ 2 = 745 877 + 1;
- 745 877 ÷ 2 = 372 938 + 1;
- 372 938 ÷ 2 = 186 469 + 0;
- 186 469 ÷ 2 = 93 234 + 1;
- 93 234 ÷ 2 = 46 617 + 0;
- 46 617 ÷ 2 = 23 308 + 1;
- 23 308 ÷ 2 = 11 654 + 0;
- 11 654 ÷ 2 = 5 827 + 0;
- 5 827 ÷ 2 = 2 913 + 1;
- 2 913 ÷ 2 = 1 456 + 1;
- 1 456 ÷ 2 = 728 + 0;
- 728 ÷ 2 = 364 + 0;
- 364 ÷ 2 = 182 + 0;
- 182 ÷ 2 = 91 + 0;
- 91 ÷ 2 = 45 + 1;
- 45 ÷ 2 = 22 + 1;
- 22 ÷ 2 = 11 + 0;
- 11 ÷ 2 = 5 + 1;
- 5 ÷ 2 = 2 + 1;
- 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.
100 110 011 111 199(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
100 110 011 111 199 (base 10) = 101 1011 0000 1100 1010 1101 1010 0110 1001 0111 0001 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.