What are the required steps to convert base 10 decimal system
number 24 668 480 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;
- 24 668 480 ÷ 2 = 12 334 240 + 0;
- 12 334 240 ÷ 2 = 6 167 120 + 0;
- 6 167 120 ÷ 2 = 3 083 560 + 0;
- 3 083 560 ÷ 2 = 1 541 780 + 0;
- 1 541 780 ÷ 2 = 770 890 + 0;
- 770 890 ÷ 2 = 385 445 + 0;
- 385 445 ÷ 2 = 192 722 + 1;
- 192 722 ÷ 2 = 96 361 + 0;
- 96 361 ÷ 2 = 48 180 + 1;
- 48 180 ÷ 2 = 24 090 + 0;
- 24 090 ÷ 2 = 12 045 + 0;
- 12 045 ÷ 2 = 6 022 + 1;
- 6 022 ÷ 2 = 3 011 + 0;
- 3 011 ÷ 2 = 1 505 + 1;
- 1 505 ÷ 2 = 752 + 1;
- 752 ÷ 2 = 376 + 0;
- 376 ÷ 2 = 188 + 0;
- 188 ÷ 2 = 94 + 0;
- 94 ÷ 2 = 47 + 0;
- 47 ÷ 2 = 23 + 1;
- 23 ÷ 2 = 11 + 1;
- 11 ÷ 2 = 5 + 1;
- 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.
24 668 480(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
24 668 480 (base 10) = 1 0111 1000 0110 1001 0100 0000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.