What are the required steps to convert base 10 decimal system
number 33 816 564 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;
- 33 816 564 ÷ 2 = 16 908 282 + 0;
- 16 908 282 ÷ 2 = 8 454 141 + 0;
- 8 454 141 ÷ 2 = 4 227 070 + 1;
- 4 227 070 ÷ 2 = 2 113 535 + 0;
- 2 113 535 ÷ 2 = 1 056 767 + 1;
- 1 056 767 ÷ 2 = 528 383 + 1;
- 528 383 ÷ 2 = 264 191 + 1;
- 264 191 ÷ 2 = 132 095 + 1;
- 132 095 ÷ 2 = 66 047 + 1;
- 66 047 ÷ 2 = 33 023 + 1;
- 33 023 ÷ 2 = 16 511 + 1;
- 16 511 ÷ 2 = 8 255 + 1;
- 8 255 ÷ 2 = 4 127 + 1;
- 4 127 ÷ 2 = 2 063 + 1;
- 2 063 ÷ 2 = 1 031 + 1;
- 1 031 ÷ 2 = 515 + 1;
- 515 ÷ 2 = 257 + 1;
- 257 ÷ 2 = 128 + 1;
- 128 ÷ 2 = 64 + 0;
- 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.
33 816 564(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
33 816 564 (base 10) = 10 0000 0011 1111 1111 1111 0100 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.