What are the required steps to convert base 10 decimal system
number 252 052 816 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;
- 252 052 816 ÷ 2 = 126 026 408 + 0;
- 126 026 408 ÷ 2 = 63 013 204 + 0;
- 63 013 204 ÷ 2 = 31 506 602 + 0;
- 31 506 602 ÷ 2 = 15 753 301 + 0;
- 15 753 301 ÷ 2 = 7 876 650 + 1;
- 7 876 650 ÷ 2 = 3 938 325 + 0;
- 3 938 325 ÷ 2 = 1 969 162 + 1;
- 1 969 162 ÷ 2 = 984 581 + 0;
- 984 581 ÷ 2 = 492 290 + 1;
- 492 290 ÷ 2 = 246 145 + 0;
- 246 145 ÷ 2 = 123 072 + 1;
- 123 072 ÷ 2 = 61 536 + 0;
- 61 536 ÷ 2 = 30 768 + 0;
- 30 768 ÷ 2 = 15 384 + 0;
- 15 384 ÷ 2 = 7 692 + 0;
- 7 692 ÷ 2 = 3 846 + 0;
- 3 846 ÷ 2 = 1 923 + 0;
- 1 923 ÷ 2 = 961 + 1;
- 961 ÷ 2 = 480 + 1;
- 480 ÷ 2 = 240 + 0;
- 240 ÷ 2 = 120 + 0;
- 120 ÷ 2 = 60 + 0;
- 60 ÷ 2 = 30 + 0;
- 30 ÷ 2 = 15 + 0;
- 15 ÷ 2 = 7 + 1;
- 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.
252 052 816(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
252 052 816 (base 10) = 1111 0000 0110 0000 0101 0101 0000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.