What are the required steps to convert base 10 decimal system
number 1 010 110 010 323 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 010 110 010 323 ÷ 2 = 505 055 005 161 + 1;
- 505 055 005 161 ÷ 2 = 252 527 502 580 + 1;
- 252 527 502 580 ÷ 2 = 126 263 751 290 + 0;
- 126 263 751 290 ÷ 2 = 63 131 875 645 + 0;
- 63 131 875 645 ÷ 2 = 31 565 937 822 + 1;
- 31 565 937 822 ÷ 2 = 15 782 968 911 + 0;
- 15 782 968 911 ÷ 2 = 7 891 484 455 + 1;
- 7 891 484 455 ÷ 2 = 3 945 742 227 + 1;
- 3 945 742 227 ÷ 2 = 1 972 871 113 + 1;
- 1 972 871 113 ÷ 2 = 986 435 556 + 1;
- 986 435 556 ÷ 2 = 493 217 778 + 0;
- 493 217 778 ÷ 2 = 246 608 889 + 0;
- 246 608 889 ÷ 2 = 123 304 444 + 1;
- 123 304 444 ÷ 2 = 61 652 222 + 0;
- 61 652 222 ÷ 2 = 30 826 111 + 0;
- 30 826 111 ÷ 2 = 15 413 055 + 1;
- 15 413 055 ÷ 2 = 7 706 527 + 1;
- 7 706 527 ÷ 2 = 3 853 263 + 1;
- 3 853 263 ÷ 2 = 1 926 631 + 1;
- 1 926 631 ÷ 2 = 963 315 + 1;
- 963 315 ÷ 2 = 481 657 + 1;
- 481 657 ÷ 2 = 240 828 + 1;
- 240 828 ÷ 2 = 120 414 + 0;
- 120 414 ÷ 2 = 60 207 + 0;
- 60 207 ÷ 2 = 30 103 + 1;
- 30 103 ÷ 2 = 15 051 + 1;
- 15 051 ÷ 2 = 7 525 + 1;
- 7 525 ÷ 2 = 3 762 + 1;
- 3 762 ÷ 2 = 1 881 + 0;
- 1 881 ÷ 2 = 940 + 1;
- 940 ÷ 2 = 470 + 0;
- 470 ÷ 2 = 235 + 0;
- 235 ÷ 2 = 117 + 1;
- 117 ÷ 2 = 58 + 1;
- 58 ÷ 2 = 29 + 0;
- 29 ÷ 2 = 14 + 1;
- 14 ÷ 2 = 7 + 0;
- 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 010 110 010 323(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 010 110 010 323 (base 10) = 1110 1011 0010 1111 0011 1111 1001 0011 1101 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.