What are the required steps to convert base 10 decimal system
number 1 010 000 011 047 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 010 000 011 047 ÷ 2 = 505 000 005 523 + 1;
- 505 000 005 523 ÷ 2 = 252 500 002 761 + 1;
- 252 500 002 761 ÷ 2 = 126 250 001 380 + 1;
- 126 250 001 380 ÷ 2 = 63 125 000 690 + 0;
- 63 125 000 690 ÷ 2 = 31 562 500 345 + 0;
- 31 562 500 345 ÷ 2 = 15 781 250 172 + 1;
- 15 781 250 172 ÷ 2 = 7 890 625 086 + 0;
- 7 890 625 086 ÷ 2 = 3 945 312 543 + 0;
- 3 945 312 543 ÷ 2 = 1 972 656 271 + 1;
- 1 972 656 271 ÷ 2 = 986 328 135 + 1;
- 986 328 135 ÷ 2 = 493 164 067 + 1;
- 493 164 067 ÷ 2 = 246 582 033 + 1;
- 246 582 033 ÷ 2 = 123 291 016 + 1;
- 123 291 016 ÷ 2 = 61 645 508 + 0;
- 61 645 508 ÷ 2 = 30 822 754 + 0;
- 30 822 754 ÷ 2 = 15 411 377 + 0;
- 15 411 377 ÷ 2 = 7 705 688 + 1;
- 7 705 688 ÷ 2 = 3 852 844 + 0;
- 3 852 844 ÷ 2 = 1 926 422 + 0;
- 1 926 422 ÷ 2 = 963 211 + 0;
- 963 211 ÷ 2 = 481 605 + 1;
- 481 605 ÷ 2 = 240 802 + 1;
- 240 802 ÷ 2 = 120 401 + 0;
- 120 401 ÷ 2 = 60 200 + 1;
- 60 200 ÷ 2 = 30 100 + 0;
- 30 100 ÷ 2 = 15 050 + 0;
- 15 050 ÷ 2 = 7 525 + 0;
- 7 525 ÷ 2 = 3 762 + 1;
- 3 762 ÷ 2 = 1 881 + 0;
- 1 881 ÷ 2 = 940 + 1;
- 940 ÷ 2 = 470 + 0;
- 470 ÷ 2 = 235 + 0;
- 235 ÷ 2 = 117 + 1;
- 117 ÷ 2 = 58 + 1;
- 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 010 000 011 047(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 010 000 011 047 (base 10) = 1110 1011 0010 1000 1011 0001 0001 1111 0010 0111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.