What are the required steps to convert base 10 decimal system
number 964 186 650 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;
- 964 186 650 ÷ 2 = 482 093 325 + 0;
- 482 093 325 ÷ 2 = 241 046 662 + 1;
- 241 046 662 ÷ 2 = 120 523 331 + 0;
- 120 523 331 ÷ 2 = 60 261 665 + 1;
- 60 261 665 ÷ 2 = 30 130 832 + 1;
- 30 130 832 ÷ 2 = 15 065 416 + 0;
- 15 065 416 ÷ 2 = 7 532 708 + 0;
- 7 532 708 ÷ 2 = 3 766 354 + 0;
- 3 766 354 ÷ 2 = 1 883 177 + 0;
- 1 883 177 ÷ 2 = 941 588 + 1;
- 941 588 ÷ 2 = 470 794 + 0;
- 470 794 ÷ 2 = 235 397 + 0;
- 235 397 ÷ 2 = 117 698 + 1;
- 117 698 ÷ 2 = 58 849 + 0;
- 58 849 ÷ 2 = 29 424 + 1;
- 29 424 ÷ 2 = 14 712 + 0;
- 14 712 ÷ 2 = 7 356 + 0;
- 7 356 ÷ 2 = 3 678 + 0;
- 3 678 ÷ 2 = 1 839 + 0;
- 1 839 ÷ 2 = 919 + 1;
- 919 ÷ 2 = 459 + 1;
- 459 ÷ 2 = 229 + 1;
- 229 ÷ 2 = 114 + 1;
- 114 ÷ 2 = 57 + 0;
- 57 ÷ 2 = 28 + 1;
- 28 ÷ 2 = 14 + 0;
- 14 ÷ 2 = 7 + 0;
- 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.
964 186 650(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
964 186 650 (base 10) = 11 1001 0111 1000 0101 0010 0001 1010 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.