What are the required steps to convert base 10 decimal system
number 94 235 099 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 099 ÷ 2 = 47 117 549 + 1;
- 47 117 549 ÷ 2 = 23 558 774 + 1;
- 23 558 774 ÷ 2 = 11 779 387 + 0;
- 11 779 387 ÷ 2 = 5 889 693 + 1;
- 5 889 693 ÷ 2 = 2 944 846 + 1;
- 2 944 846 ÷ 2 = 1 472 423 + 0;
- 1 472 423 ÷ 2 = 736 211 + 1;
- 736 211 ÷ 2 = 368 105 + 1;
- 368 105 ÷ 2 = 184 052 + 1;
- 184 052 ÷ 2 = 92 026 + 0;
- 92 026 ÷ 2 = 46 013 + 0;
- 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 099(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
94 235 099 (base 10) = 101 1001 1101 1110 1001 1101 1011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.