What are the required steps to convert base 10 decimal system
number 965 784 177 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 784 177 ÷ 2 = 482 892 088 + 1;
- 482 892 088 ÷ 2 = 241 446 044 + 0;
- 241 446 044 ÷ 2 = 120 723 022 + 0;
- 120 723 022 ÷ 2 = 60 361 511 + 0;
- 60 361 511 ÷ 2 = 30 180 755 + 1;
- 30 180 755 ÷ 2 = 15 090 377 + 1;
- 15 090 377 ÷ 2 = 7 545 188 + 1;
- 7 545 188 ÷ 2 = 3 772 594 + 0;
- 3 772 594 ÷ 2 = 1 886 297 + 0;
- 1 886 297 ÷ 2 = 943 148 + 1;
- 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 784 177(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
965 784 177 (base 10) = 11 1001 1001 0000 1011 0010 0111 0001 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.