What are the required steps to convert base 10 decimal system
number 2 047 483 564 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;
- 2 047 483 564 ÷ 2 = 1 023 741 782 + 0;
- 1 023 741 782 ÷ 2 = 511 870 891 + 0;
- 511 870 891 ÷ 2 = 255 935 445 + 1;
- 255 935 445 ÷ 2 = 127 967 722 + 1;
- 127 967 722 ÷ 2 = 63 983 861 + 0;
- 63 983 861 ÷ 2 = 31 991 930 + 1;
- 31 991 930 ÷ 2 = 15 995 965 + 0;
- 15 995 965 ÷ 2 = 7 997 982 + 1;
- 7 997 982 ÷ 2 = 3 998 991 + 0;
- 3 998 991 ÷ 2 = 1 999 495 + 1;
- 1 999 495 ÷ 2 = 999 747 + 1;
- 999 747 ÷ 2 = 499 873 + 1;
- 499 873 ÷ 2 = 249 936 + 1;
- 249 936 ÷ 2 = 124 968 + 0;
- 124 968 ÷ 2 = 62 484 + 0;
- 62 484 ÷ 2 = 31 242 + 0;
- 31 242 ÷ 2 = 15 621 + 0;
- 15 621 ÷ 2 = 7 810 + 1;
- 7 810 ÷ 2 = 3 905 + 0;
- 3 905 ÷ 2 = 1 952 + 1;
- 1 952 ÷ 2 = 976 + 0;
- 976 ÷ 2 = 488 + 0;
- 488 ÷ 2 = 244 + 0;
- 244 ÷ 2 = 122 + 0;
- 122 ÷ 2 = 61 + 0;
- 61 ÷ 2 = 30 + 1;
- 30 ÷ 2 = 15 + 0;
- 15 ÷ 2 = 7 + 1;
- 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.
2 047 483 564(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
2 047 483 564 (base 10) = 111 1010 0000 1010 0001 1110 1010 1100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.