What are the required steps to convert base 10 decimal system
number 1 011 101 398 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;
- 1 011 101 398 ÷ 2 = 505 550 699 + 0;
- 505 550 699 ÷ 2 = 252 775 349 + 1;
- 252 775 349 ÷ 2 = 126 387 674 + 1;
- 126 387 674 ÷ 2 = 63 193 837 + 0;
- 63 193 837 ÷ 2 = 31 596 918 + 1;
- 31 596 918 ÷ 2 = 15 798 459 + 0;
- 15 798 459 ÷ 2 = 7 899 229 + 1;
- 7 899 229 ÷ 2 = 3 949 614 + 1;
- 3 949 614 ÷ 2 = 1 974 807 + 0;
- 1 974 807 ÷ 2 = 987 403 + 1;
- 987 403 ÷ 2 = 493 701 + 1;
- 493 701 ÷ 2 = 246 850 + 1;
- 246 850 ÷ 2 = 123 425 + 0;
- 123 425 ÷ 2 = 61 712 + 1;
- 61 712 ÷ 2 = 30 856 + 0;
- 30 856 ÷ 2 = 15 428 + 0;
- 15 428 ÷ 2 = 7 714 + 0;
- 7 714 ÷ 2 = 3 857 + 0;
- 3 857 ÷ 2 = 1 928 + 1;
- 1 928 ÷ 2 = 964 + 0;
- 964 ÷ 2 = 482 + 0;
- 482 ÷ 2 = 241 + 0;
- 241 ÷ 2 = 120 + 1;
- 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.
1 011 101 398(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 011 101 398 (base 10) = 11 1100 0100 0100 0010 1110 1101 0110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.