What are the required steps to convert base 10 decimal system
number 894 209 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;
- 894 209 ÷ 2 = 447 104 + 1;
- 447 104 ÷ 2 = 223 552 + 0;
- 223 552 ÷ 2 = 111 776 + 0;
- 111 776 ÷ 2 = 55 888 + 0;
- 55 888 ÷ 2 = 27 944 + 0;
- 27 944 ÷ 2 = 13 972 + 0;
- 13 972 ÷ 2 = 6 986 + 0;
- 6 986 ÷ 2 = 3 493 + 0;
- 3 493 ÷ 2 = 1 746 + 1;
- 1 746 ÷ 2 = 873 + 0;
- 873 ÷ 2 = 436 + 1;
- 436 ÷ 2 = 218 + 0;
- 218 ÷ 2 = 109 + 0;
- 109 ÷ 2 = 54 + 1;
- 54 ÷ 2 = 27 + 0;
- 27 ÷ 2 = 13 + 1;
- 13 ÷ 2 = 6 + 1;
- 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.
894 209(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
894 209 (base 10) = 1101 1010 0101 0000 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.