What are the required steps to convert base 10 decimal system
number 94 235 826 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;
- 94 235 826 ÷ 2 = 47 117 913 + 0;
- 47 117 913 ÷ 2 = 23 558 956 + 1;
- 23 558 956 ÷ 2 = 11 779 478 + 0;
- 11 779 478 ÷ 2 = 5 889 739 + 0;
- 5 889 739 ÷ 2 = 2 944 869 + 1;
- 2 944 869 ÷ 2 = 1 472 434 + 1;
- 1 472 434 ÷ 2 = 736 217 + 0;
- 736 217 ÷ 2 = 368 108 + 1;
- 368 108 ÷ 2 = 184 054 + 0;
- 184 054 ÷ 2 = 92 027 + 0;
- 92 027 ÷ 2 = 46 013 + 1;
- 46 013 ÷ 2 = 23 006 + 1;
- 23 006 ÷ 2 = 11 503 + 0;
- 11 503 ÷ 2 = 5 751 + 1;
- 5 751 ÷ 2 = 2 875 + 1;
- 2 875 ÷ 2 = 1 437 + 1;
- 1 437 ÷ 2 = 718 + 1;
- 718 ÷ 2 = 359 + 0;
- 359 ÷ 2 = 179 + 1;
- 179 ÷ 2 = 89 + 1;
- 89 ÷ 2 = 44 + 1;
- 44 ÷ 2 = 22 + 0;
- 22 ÷ 2 = 11 + 0;
- 11 ÷ 2 = 5 + 1;
- 5 ÷ 2 = 2 + 1;
- 2 ÷ 2 = 1 + 0;
- 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.
94 235 826(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
94 235 826 (base 10) = 101 1001 1101 1110 1100 1011 0010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.