What are the required steps to convert base 10 decimal system
number 132 691 939 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;
- 132 691 939 ÷ 2 = 66 345 969 + 1;
- 66 345 969 ÷ 2 = 33 172 984 + 1;
- 33 172 984 ÷ 2 = 16 586 492 + 0;
- 16 586 492 ÷ 2 = 8 293 246 + 0;
- 8 293 246 ÷ 2 = 4 146 623 + 0;
- 4 146 623 ÷ 2 = 2 073 311 + 1;
- 2 073 311 ÷ 2 = 1 036 655 + 1;
- 1 036 655 ÷ 2 = 518 327 + 1;
- 518 327 ÷ 2 = 259 163 + 1;
- 259 163 ÷ 2 = 129 581 + 1;
- 129 581 ÷ 2 = 64 790 + 1;
- 64 790 ÷ 2 = 32 395 + 0;
- 32 395 ÷ 2 = 16 197 + 1;
- 16 197 ÷ 2 = 8 098 + 1;
- 8 098 ÷ 2 = 4 049 + 0;
- 4 049 ÷ 2 = 2 024 + 1;
- 2 024 ÷ 2 = 1 012 + 0;
- 1 012 ÷ 2 = 506 + 0;
- 506 ÷ 2 = 253 + 0;
- 253 ÷ 2 = 126 + 1;
- 126 ÷ 2 = 63 + 0;
- 63 ÷ 2 = 31 + 1;
- 31 ÷ 2 = 15 + 1;
- 15 ÷ 2 = 7 + 1;
- 7 ÷ 2 = 3 + 1;
- 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.
132 691 939(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
132 691 939 (base 10) = 111 1110 1000 1011 0111 1110 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.