What are the required steps to convert base 10 decimal system
number 111 110 220 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;
- 111 110 220 ÷ 2 = 55 555 110 + 0;
- 55 555 110 ÷ 2 = 27 777 555 + 0;
- 27 777 555 ÷ 2 = 13 888 777 + 1;
- 13 888 777 ÷ 2 = 6 944 388 + 1;
- 6 944 388 ÷ 2 = 3 472 194 + 0;
- 3 472 194 ÷ 2 = 1 736 097 + 0;
- 1 736 097 ÷ 2 = 868 048 + 1;
- 868 048 ÷ 2 = 434 024 + 0;
- 434 024 ÷ 2 = 217 012 + 0;
- 217 012 ÷ 2 = 108 506 + 0;
- 108 506 ÷ 2 = 54 253 + 0;
- 54 253 ÷ 2 = 27 126 + 1;
- 27 126 ÷ 2 = 13 563 + 0;
- 13 563 ÷ 2 = 6 781 + 1;
- 6 781 ÷ 2 = 3 390 + 1;
- 3 390 ÷ 2 = 1 695 + 0;
- 1 695 ÷ 2 = 847 + 1;
- 847 ÷ 2 = 423 + 1;
- 423 ÷ 2 = 211 + 1;
- 211 ÷ 2 = 105 + 1;
- 105 ÷ 2 = 52 + 1;
- 52 ÷ 2 = 26 + 0;
- 26 ÷ 2 = 13 + 0;
- 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.
111 110 220(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
111 110 220 (base 10) = 110 1001 1111 0110 1000 0100 1100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.