What are the required steps to convert base 10 decimal system
number 1 001 010 101 100 111 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 001 010 101 100 111 ÷ 2 = 500 505 050 550 055 + 1;
- 500 505 050 550 055 ÷ 2 = 250 252 525 275 027 + 1;
- 250 252 525 275 027 ÷ 2 = 125 126 262 637 513 + 1;
- 125 126 262 637 513 ÷ 2 = 62 563 131 318 756 + 1;
- 62 563 131 318 756 ÷ 2 = 31 281 565 659 378 + 0;
- 31 281 565 659 378 ÷ 2 = 15 640 782 829 689 + 0;
- 15 640 782 829 689 ÷ 2 = 7 820 391 414 844 + 1;
- 7 820 391 414 844 ÷ 2 = 3 910 195 707 422 + 0;
- 3 910 195 707 422 ÷ 2 = 1 955 097 853 711 + 0;
- 1 955 097 853 711 ÷ 2 = 977 548 926 855 + 1;
- 977 548 926 855 ÷ 2 = 488 774 463 427 + 1;
- 488 774 463 427 ÷ 2 = 244 387 231 713 + 1;
- 244 387 231 713 ÷ 2 = 122 193 615 856 + 1;
- 122 193 615 856 ÷ 2 = 61 096 807 928 + 0;
- 61 096 807 928 ÷ 2 = 30 548 403 964 + 0;
- 30 548 403 964 ÷ 2 = 15 274 201 982 + 0;
- 15 274 201 982 ÷ 2 = 7 637 100 991 + 0;
- 7 637 100 991 ÷ 2 = 3 818 550 495 + 1;
- 3 818 550 495 ÷ 2 = 1 909 275 247 + 1;
- 1 909 275 247 ÷ 2 = 954 637 623 + 1;
- 954 637 623 ÷ 2 = 477 318 811 + 1;
- 477 318 811 ÷ 2 = 238 659 405 + 1;
- 238 659 405 ÷ 2 = 119 329 702 + 1;
- 119 329 702 ÷ 2 = 59 664 851 + 0;
- 59 664 851 ÷ 2 = 29 832 425 + 1;
- 29 832 425 ÷ 2 = 14 916 212 + 1;
- 14 916 212 ÷ 2 = 7 458 106 + 0;
- 7 458 106 ÷ 2 = 3 729 053 + 0;
- 3 729 053 ÷ 2 = 1 864 526 + 1;
- 1 864 526 ÷ 2 = 932 263 + 0;
- 932 263 ÷ 2 = 466 131 + 1;
- 466 131 ÷ 2 = 233 065 + 1;
- 233 065 ÷ 2 = 116 532 + 1;
- 116 532 ÷ 2 = 58 266 + 0;
- 58 266 ÷ 2 = 29 133 + 0;
- 29 133 ÷ 2 = 14 566 + 1;
- 14 566 ÷ 2 = 7 283 + 0;
- 7 283 ÷ 2 = 3 641 + 1;
- 3 641 ÷ 2 = 1 820 + 1;
- 1 820 ÷ 2 = 910 + 0;
- 910 ÷ 2 = 455 + 0;
- 455 ÷ 2 = 227 + 1;
- 227 ÷ 2 = 113 + 1;
- 113 ÷ 2 = 56 + 1;
- 56 ÷ 2 = 28 + 0;
- 28 ÷ 2 = 14 + 0;
- 14 ÷ 2 = 7 + 0;
- 7 ÷ 2 = 3 + 1;
- 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.
1 001 010 101 100 111(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 001 010 101 100 111 (base 10) = 11 1000 1110 0110 1001 1101 0011 0111 1110 0001 1110 0100 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.