What are the required steps to convert base 10 decimal system
number 5 432 543 215 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;
- 5 432 543 215 ÷ 2 = 2 716 271 607 + 1;
- 2 716 271 607 ÷ 2 = 1 358 135 803 + 1;
- 1 358 135 803 ÷ 2 = 679 067 901 + 1;
- 679 067 901 ÷ 2 = 339 533 950 + 1;
- 339 533 950 ÷ 2 = 169 766 975 + 0;
- 169 766 975 ÷ 2 = 84 883 487 + 1;
- 84 883 487 ÷ 2 = 42 441 743 + 1;
- 42 441 743 ÷ 2 = 21 220 871 + 1;
- 21 220 871 ÷ 2 = 10 610 435 + 1;
- 10 610 435 ÷ 2 = 5 305 217 + 1;
- 5 305 217 ÷ 2 = 2 652 608 + 1;
- 2 652 608 ÷ 2 = 1 326 304 + 0;
- 1 326 304 ÷ 2 = 663 152 + 0;
- 663 152 ÷ 2 = 331 576 + 0;
- 331 576 ÷ 2 = 165 788 + 0;
- 165 788 ÷ 2 = 82 894 + 0;
- 82 894 ÷ 2 = 41 447 + 0;
- 41 447 ÷ 2 = 20 723 + 1;
- 20 723 ÷ 2 = 10 361 + 1;
- 10 361 ÷ 2 = 5 180 + 1;
- 5 180 ÷ 2 = 2 590 + 0;
- 2 590 ÷ 2 = 1 295 + 0;
- 1 295 ÷ 2 = 647 + 1;
- 647 ÷ 2 = 323 + 1;
- 323 ÷ 2 = 161 + 1;
- 161 ÷ 2 = 80 + 1;
- 80 ÷ 2 = 40 + 0;
- 40 ÷ 2 = 20 + 0;
- 20 ÷ 2 = 10 + 0;
- 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.
5 432 543 215(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
5 432 543 215 (base 10) = 1 0100 0011 1100 1110 0000 0111 1110 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.