What are the required steps to convert base 10 decimal system
number 212 783 265 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;
- 212 783 265 ÷ 2 = 106 391 632 + 1;
- 106 391 632 ÷ 2 = 53 195 816 + 0;
- 53 195 816 ÷ 2 = 26 597 908 + 0;
- 26 597 908 ÷ 2 = 13 298 954 + 0;
- 13 298 954 ÷ 2 = 6 649 477 + 0;
- 6 649 477 ÷ 2 = 3 324 738 + 1;
- 3 324 738 ÷ 2 = 1 662 369 + 0;
- 1 662 369 ÷ 2 = 831 184 + 1;
- 831 184 ÷ 2 = 415 592 + 0;
- 415 592 ÷ 2 = 207 796 + 0;
- 207 796 ÷ 2 = 103 898 + 0;
- 103 898 ÷ 2 = 51 949 + 0;
- 51 949 ÷ 2 = 25 974 + 1;
- 25 974 ÷ 2 = 12 987 + 0;
- 12 987 ÷ 2 = 6 493 + 1;
- 6 493 ÷ 2 = 3 246 + 1;
- 3 246 ÷ 2 = 1 623 + 0;
- 1 623 ÷ 2 = 811 + 1;
- 811 ÷ 2 = 405 + 1;
- 405 ÷ 2 = 202 + 1;
- 202 ÷ 2 = 101 + 0;
- 101 ÷ 2 = 50 + 1;
- 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.
212 783 265(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
212 783 265 (base 10) = 1100 1010 1110 1101 0000 1010 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.