What are the required steps to convert base 10 decimal system
number 220 120 045 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;
- 220 120 045 ÷ 2 = 110 060 022 + 1;
- 110 060 022 ÷ 2 = 55 030 011 + 0;
- 55 030 011 ÷ 2 = 27 515 005 + 1;
- 27 515 005 ÷ 2 = 13 757 502 + 1;
- 13 757 502 ÷ 2 = 6 878 751 + 0;
- 6 878 751 ÷ 2 = 3 439 375 + 1;
- 3 439 375 ÷ 2 = 1 719 687 + 1;
- 1 719 687 ÷ 2 = 859 843 + 1;
- 859 843 ÷ 2 = 429 921 + 1;
- 429 921 ÷ 2 = 214 960 + 1;
- 214 960 ÷ 2 = 107 480 + 0;
- 107 480 ÷ 2 = 53 740 + 0;
- 53 740 ÷ 2 = 26 870 + 0;
- 26 870 ÷ 2 = 13 435 + 0;
- 13 435 ÷ 2 = 6 717 + 1;
- 6 717 ÷ 2 = 3 358 + 1;
- 3 358 ÷ 2 = 1 679 + 0;
- 1 679 ÷ 2 = 839 + 1;
- 839 ÷ 2 = 419 + 1;
- 419 ÷ 2 = 209 + 1;
- 209 ÷ 2 = 104 + 1;
- 104 ÷ 2 = 52 + 0;
- 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.
220 120 045(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
220 120 045 (base 10) = 1101 0001 1110 1100 0011 1110 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.