What are the required steps to convert base 10 decimal system
number 212 974 234 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 974 234 ÷ 2 = 106 487 117 + 0;
- 106 487 117 ÷ 2 = 53 243 558 + 1;
- 53 243 558 ÷ 2 = 26 621 779 + 0;
- 26 621 779 ÷ 2 = 13 310 889 + 1;
- 13 310 889 ÷ 2 = 6 655 444 + 1;
- 6 655 444 ÷ 2 = 3 327 722 + 0;
- 3 327 722 ÷ 2 = 1 663 861 + 0;
- 1 663 861 ÷ 2 = 831 930 + 1;
- 831 930 ÷ 2 = 415 965 + 0;
- 415 965 ÷ 2 = 207 982 + 1;
- 207 982 ÷ 2 = 103 991 + 0;
- 103 991 ÷ 2 = 51 995 + 1;
- 51 995 ÷ 2 = 25 997 + 1;
- 25 997 ÷ 2 = 12 998 + 1;
- 12 998 ÷ 2 = 6 499 + 0;
- 6 499 ÷ 2 = 3 249 + 1;
- 3 249 ÷ 2 = 1 624 + 1;
- 1 624 ÷ 2 = 812 + 0;
- 812 ÷ 2 = 406 + 0;
- 406 ÷ 2 = 203 + 0;
- 203 ÷ 2 = 101 + 1;
- 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 974 234(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
212 974 234 (base 10) = 1100 1011 0001 1011 1010 1001 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.