What are the required steps to convert base 10 decimal system
number 965 783 689 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 783 689 ÷ 2 = 482 891 844 + 1;
- 482 891 844 ÷ 2 = 241 445 922 + 0;
- 241 445 922 ÷ 2 = 120 722 961 + 0;
- 120 722 961 ÷ 2 = 60 361 480 + 1;
- 60 361 480 ÷ 2 = 30 180 740 + 0;
- 30 180 740 ÷ 2 = 15 090 370 + 0;
- 15 090 370 ÷ 2 = 7 545 185 + 0;
- 7 545 185 ÷ 2 = 3 772 592 + 1;
- 3 772 592 ÷ 2 = 1 886 296 + 0;
- 1 886 296 ÷ 2 = 943 148 + 0;
- 943 148 ÷ 2 = 471 574 + 0;
- 471 574 ÷ 2 = 235 787 + 0;
- 235 787 ÷ 2 = 117 893 + 1;
- 117 893 ÷ 2 = 58 946 + 1;
- 58 946 ÷ 2 = 29 473 + 0;
- 29 473 ÷ 2 = 14 736 + 1;
- 14 736 ÷ 2 = 7 368 + 0;
- 7 368 ÷ 2 = 3 684 + 0;
- 3 684 ÷ 2 = 1 842 + 0;
- 1 842 ÷ 2 = 921 + 0;
- 921 ÷ 2 = 460 + 1;
- 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 783 689(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
965 783 689 (base 10) = 11 1001 1001 0000 1011 0000 1000 1001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.