What are the required steps to convert base 10 decimal system
number 965 425 919 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;
- 965 425 919 ÷ 2 = 482 712 959 + 1;
- 482 712 959 ÷ 2 = 241 356 479 + 1;
- 241 356 479 ÷ 2 = 120 678 239 + 1;
- 120 678 239 ÷ 2 = 60 339 119 + 1;
- 60 339 119 ÷ 2 = 30 169 559 + 1;
- 30 169 559 ÷ 2 = 15 084 779 + 1;
- 15 084 779 ÷ 2 = 7 542 389 + 1;
- 7 542 389 ÷ 2 = 3 771 194 + 1;
- 3 771 194 ÷ 2 = 1 885 597 + 0;
- 1 885 597 ÷ 2 = 942 798 + 1;
- 942 798 ÷ 2 = 471 399 + 0;
- 471 399 ÷ 2 = 235 699 + 1;
- 235 699 ÷ 2 = 117 849 + 1;
- 117 849 ÷ 2 = 58 924 + 1;
- 58 924 ÷ 2 = 29 462 + 0;
- 29 462 ÷ 2 = 14 731 + 0;
- 14 731 ÷ 2 = 7 365 + 1;
- 7 365 ÷ 2 = 3 682 + 1;
- 3 682 ÷ 2 = 1 841 + 0;
- 1 841 ÷ 2 = 920 + 1;
- 920 ÷ 2 = 460 + 0;
- 460 ÷ 2 = 230 + 0;
- 230 ÷ 2 = 115 + 0;
- 115 ÷ 2 = 57 + 1;
- 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.
965 425 919(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
965 425 919 (base 10) = 11 1001 1000 1011 0011 1010 1111 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.