What are the required steps to convert base 10 decimal system
number 1 100 010 101 343 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 100 010 101 343 ÷ 2 = 550 005 050 671 + 1;
- 550 005 050 671 ÷ 2 = 275 002 525 335 + 1;
- 275 002 525 335 ÷ 2 = 137 501 262 667 + 1;
- 137 501 262 667 ÷ 2 = 68 750 631 333 + 1;
- 68 750 631 333 ÷ 2 = 34 375 315 666 + 1;
- 34 375 315 666 ÷ 2 = 17 187 657 833 + 0;
- 17 187 657 833 ÷ 2 = 8 593 828 916 + 1;
- 8 593 828 916 ÷ 2 = 4 296 914 458 + 0;
- 4 296 914 458 ÷ 2 = 2 148 457 229 + 0;
- 2 148 457 229 ÷ 2 = 1 074 228 614 + 1;
- 1 074 228 614 ÷ 2 = 537 114 307 + 0;
- 537 114 307 ÷ 2 = 268 557 153 + 1;
- 268 557 153 ÷ 2 = 134 278 576 + 1;
- 134 278 576 ÷ 2 = 67 139 288 + 0;
- 67 139 288 ÷ 2 = 33 569 644 + 0;
- 33 569 644 ÷ 2 = 16 784 822 + 0;
- 16 784 822 ÷ 2 = 8 392 411 + 0;
- 8 392 411 ÷ 2 = 4 196 205 + 1;
- 4 196 205 ÷ 2 = 2 098 102 + 1;
- 2 098 102 ÷ 2 = 1 049 051 + 0;
- 1 049 051 ÷ 2 = 524 525 + 1;
- 524 525 ÷ 2 = 262 262 + 1;
- 262 262 ÷ 2 = 131 131 + 0;
- 131 131 ÷ 2 = 65 565 + 1;
- 65 565 ÷ 2 = 32 782 + 1;
- 32 782 ÷ 2 = 16 391 + 0;
- 16 391 ÷ 2 = 8 195 + 1;
- 8 195 ÷ 2 = 4 097 + 1;
- 4 097 ÷ 2 = 2 048 + 1;
- 2 048 ÷ 2 = 1 024 + 0;
- 1 024 ÷ 2 = 512 + 0;
- 512 ÷ 2 = 256 + 0;
- 256 ÷ 2 = 128 + 0;
- 128 ÷ 2 = 64 + 0;
- 64 ÷ 2 = 32 + 0;
- 32 ÷ 2 = 16 + 0;
- 16 ÷ 2 = 8 + 0;
- 8 ÷ 2 = 4 + 0;
- 4 ÷ 2 = 2 + 0;
- 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.
1 100 010 101 343(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
1 100 010 101 343 (base 10) = 1 0000 0000 0001 1101 1011 0110 0001 1010 0101 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.