What are the required steps to convert base 10 decimal system
number 720 771 571 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;
- 720 771 571 ÷ 2 = 360 385 785 + 1;
- 360 385 785 ÷ 2 = 180 192 892 + 1;
- 180 192 892 ÷ 2 = 90 096 446 + 0;
- 90 096 446 ÷ 2 = 45 048 223 + 0;
- 45 048 223 ÷ 2 = 22 524 111 + 1;
- 22 524 111 ÷ 2 = 11 262 055 + 1;
- 11 262 055 ÷ 2 = 5 631 027 + 1;
- 5 631 027 ÷ 2 = 2 815 513 + 1;
- 2 815 513 ÷ 2 = 1 407 756 + 1;
- 1 407 756 ÷ 2 = 703 878 + 0;
- 703 878 ÷ 2 = 351 939 + 0;
- 351 939 ÷ 2 = 175 969 + 1;
- 175 969 ÷ 2 = 87 984 + 1;
- 87 984 ÷ 2 = 43 992 + 0;
- 43 992 ÷ 2 = 21 996 + 0;
- 21 996 ÷ 2 = 10 998 + 0;
- 10 998 ÷ 2 = 5 499 + 0;
- 5 499 ÷ 2 = 2 749 + 1;
- 2 749 ÷ 2 = 1 374 + 1;
- 1 374 ÷ 2 = 687 + 0;
- 687 ÷ 2 = 343 + 1;
- 343 ÷ 2 = 171 + 1;
- 171 ÷ 2 = 85 + 1;
- 85 ÷ 2 = 42 + 1;
- 42 ÷ 2 = 21 + 0;
- 21 ÷ 2 = 10 + 1;
- 10 ÷ 2 = 5 + 0;
- 5 ÷ 2 = 2 + 1;
- 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.
720 771 571(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
720 771 571 (base 10) = 10 1010 1111 0110 0001 1001 1111 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.