What are the required steps to convert base 10 decimal system
number 111 010 101 111 040 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;
- 111 010 101 111 040 ÷ 2 = 55 505 050 555 520 + 0;
- 55 505 050 555 520 ÷ 2 = 27 752 525 277 760 + 0;
- 27 752 525 277 760 ÷ 2 = 13 876 262 638 880 + 0;
- 13 876 262 638 880 ÷ 2 = 6 938 131 319 440 + 0;
- 6 938 131 319 440 ÷ 2 = 3 469 065 659 720 + 0;
- 3 469 065 659 720 ÷ 2 = 1 734 532 829 860 + 0;
- 1 734 532 829 860 ÷ 2 = 867 266 414 930 + 0;
- 867 266 414 930 ÷ 2 = 433 633 207 465 + 0;
- 433 633 207 465 ÷ 2 = 216 816 603 732 + 1;
- 216 816 603 732 ÷ 2 = 108 408 301 866 + 0;
- 108 408 301 866 ÷ 2 = 54 204 150 933 + 0;
- 54 204 150 933 ÷ 2 = 27 102 075 466 + 1;
- 27 102 075 466 ÷ 2 = 13 551 037 733 + 0;
- 13 551 037 733 ÷ 2 = 6 775 518 866 + 1;
- 6 775 518 866 ÷ 2 = 3 387 759 433 + 0;
- 3 387 759 433 ÷ 2 = 1 693 879 716 + 1;
- 1 693 879 716 ÷ 2 = 846 939 858 + 0;
- 846 939 858 ÷ 2 = 423 469 929 + 0;
- 423 469 929 ÷ 2 = 211 734 964 + 1;
- 211 734 964 ÷ 2 = 105 867 482 + 0;
- 105 867 482 ÷ 2 = 52 933 741 + 0;
- 52 933 741 ÷ 2 = 26 466 870 + 1;
- 26 466 870 ÷ 2 = 13 233 435 + 0;
- 13 233 435 ÷ 2 = 6 616 717 + 1;
- 6 616 717 ÷ 2 = 3 308 358 + 1;
- 3 308 358 ÷ 2 = 1 654 179 + 0;
- 1 654 179 ÷ 2 = 827 089 + 1;
- 827 089 ÷ 2 = 413 544 + 1;
- 413 544 ÷ 2 = 206 772 + 0;
- 206 772 ÷ 2 = 103 386 + 0;
- 103 386 ÷ 2 = 51 693 + 0;
- 51 693 ÷ 2 = 25 846 + 1;
- 25 846 ÷ 2 = 12 923 + 0;
- 12 923 ÷ 2 = 6 461 + 1;
- 6 461 ÷ 2 = 3 230 + 1;
- 3 230 ÷ 2 = 1 615 + 0;
- 1 615 ÷ 2 = 807 + 1;
- 807 ÷ 2 = 403 + 1;
- 403 ÷ 2 = 201 + 1;
- 201 ÷ 2 = 100 + 1;
- 100 ÷ 2 = 50 + 0;
- 50 ÷ 2 = 25 + 0;
- 25 ÷ 2 = 12 + 1;
- 12 ÷ 2 = 6 + 0;
- 6 ÷ 2 = 3 + 0;
- 3 ÷ 2 = 1 + 1;
- 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.
111 010 101 111 040(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
111 010 101 111 040 (base 10) = 110 0100 1111 0110 1000 1101 1010 0100 1010 1001 0000 0000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.