What are the required steps to convert base 10 decimal system
number 543 216 828 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;
- 543 216 828 ÷ 2 = 271 608 414 + 0;
- 271 608 414 ÷ 2 = 135 804 207 + 0;
- 135 804 207 ÷ 2 = 67 902 103 + 1;
- 67 902 103 ÷ 2 = 33 951 051 + 1;
- 33 951 051 ÷ 2 = 16 975 525 + 1;
- 16 975 525 ÷ 2 = 8 487 762 + 1;
- 8 487 762 ÷ 2 = 4 243 881 + 0;
- 4 243 881 ÷ 2 = 2 121 940 + 1;
- 2 121 940 ÷ 2 = 1 060 970 + 0;
- 1 060 970 ÷ 2 = 530 485 + 0;
- 530 485 ÷ 2 = 265 242 + 1;
- 265 242 ÷ 2 = 132 621 + 0;
- 132 621 ÷ 2 = 66 310 + 1;
- 66 310 ÷ 2 = 33 155 + 0;
- 33 155 ÷ 2 = 16 577 + 1;
- 16 577 ÷ 2 = 8 288 + 1;
- 8 288 ÷ 2 = 4 144 + 0;
- 4 144 ÷ 2 = 2 072 + 0;
- 2 072 ÷ 2 = 1 036 + 0;
- 1 036 ÷ 2 = 518 + 0;
- 518 ÷ 2 = 259 + 0;
- 259 ÷ 2 = 129 + 1;
- 129 ÷ 2 = 64 + 1;
- 64 ÷ 2 = 32 + 0;
- 32 ÷ 2 = 16 + 0;
- 16 ÷ 2 = 8 + 0;
- 8 ÷ 2 = 4 + 0;
- 4 ÷ 2 = 2 + 0;
- 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.
543 216 828(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
543 216 828 (base 10) = 10 0000 0110 0000 1101 0100 1011 1100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.