What are the required steps to convert base 10 decimal system
number 594 302 317 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;
- 594 302 317 ÷ 2 = 297 151 158 + 1;
- 297 151 158 ÷ 2 = 148 575 579 + 0;
- 148 575 579 ÷ 2 = 74 287 789 + 1;
- 74 287 789 ÷ 2 = 37 143 894 + 1;
- 37 143 894 ÷ 2 = 18 571 947 + 0;
- 18 571 947 ÷ 2 = 9 285 973 + 1;
- 9 285 973 ÷ 2 = 4 642 986 + 1;
- 4 642 986 ÷ 2 = 2 321 493 + 0;
- 2 321 493 ÷ 2 = 1 160 746 + 1;
- 1 160 746 ÷ 2 = 580 373 + 0;
- 580 373 ÷ 2 = 290 186 + 1;
- 290 186 ÷ 2 = 145 093 + 0;
- 145 093 ÷ 2 = 72 546 + 1;
- 72 546 ÷ 2 = 36 273 + 0;
- 36 273 ÷ 2 = 18 136 + 1;
- 18 136 ÷ 2 = 9 068 + 0;
- 9 068 ÷ 2 = 4 534 + 0;
- 4 534 ÷ 2 = 2 267 + 0;
- 2 267 ÷ 2 = 1 133 + 1;
- 1 133 ÷ 2 = 566 + 1;
- 566 ÷ 2 = 283 + 0;
- 283 ÷ 2 = 141 + 1;
- 141 ÷ 2 = 70 + 1;
- 70 ÷ 2 = 35 + 0;
- 35 ÷ 2 = 17 + 1;
- 17 ÷ 2 = 8 + 1;
- 8 ÷ 2 = 4 + 0;
- 4 ÷ 2 = 2 + 0;
- 2 ÷ 2 = 1 + 0;
- 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.
594 302 317(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
594 302 317 (base 10) = 10 0011 0110 1100 0101 0101 0110 1101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.