What are the required steps to convert base 10 decimal system
number 1 001 011 110 956 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 011 110 956 ÷ 2 = 500 505 555 478 + 0;
- 500 505 555 478 ÷ 2 = 250 252 777 739 + 0;
- 250 252 777 739 ÷ 2 = 125 126 388 869 + 1;
- 125 126 388 869 ÷ 2 = 62 563 194 434 + 1;
- 62 563 194 434 ÷ 2 = 31 281 597 217 + 0;
- 31 281 597 217 ÷ 2 = 15 640 798 608 + 1;
- 15 640 798 608 ÷ 2 = 7 820 399 304 + 0;
- 7 820 399 304 ÷ 2 = 3 910 199 652 + 0;
- 3 910 199 652 ÷ 2 = 1 955 099 826 + 0;
- 1 955 099 826 ÷ 2 = 977 549 913 + 0;
- 977 549 913 ÷ 2 = 488 774 956 + 1;
- 488 774 956 ÷ 2 = 244 387 478 + 0;
- 244 387 478 ÷ 2 = 122 193 739 + 0;
- 122 193 739 ÷ 2 = 61 096 869 + 1;
- 61 096 869 ÷ 2 = 30 548 434 + 1;
- 30 548 434 ÷ 2 = 15 274 217 + 0;
- 15 274 217 ÷ 2 = 7 637 108 + 1;
- 7 637 108 ÷ 2 = 3 818 554 + 0;
- 3 818 554 ÷ 2 = 1 909 277 + 0;
- 1 909 277 ÷ 2 = 954 638 + 1;
- 954 638 ÷ 2 = 477 319 + 0;
- 477 319 ÷ 2 = 238 659 + 1;
- 238 659 ÷ 2 = 119 329 + 1;
- 119 329 ÷ 2 = 59 664 + 1;
- 59 664 ÷ 2 = 29 832 + 0;
- 29 832 ÷ 2 = 14 916 + 0;
- 14 916 ÷ 2 = 7 458 + 0;
- 7 458 ÷ 2 = 3 729 + 0;
- 3 729 ÷ 2 = 1 864 + 1;
- 1 864 ÷ 2 = 932 + 0;
- 932 ÷ 2 = 466 + 0;
- 466 ÷ 2 = 233 + 0;
- 233 ÷ 2 = 116 + 1;
- 116 ÷ 2 = 58 + 0;
- 58 ÷ 2 = 29 + 0;
- 29 ÷ 2 = 14 + 1;
- 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 011 110 956(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 001 011 110 956 (base 10) = 1110 1001 0001 0000 1110 1001 0110 0100 0010 1100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.