What are the required steps to convert base 10 decimal system
number 10 101 101 100 334 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;
- 10 101 101 100 334 ÷ 2 = 5 050 550 550 167 + 0;
- 5 050 550 550 167 ÷ 2 = 2 525 275 275 083 + 1;
- 2 525 275 275 083 ÷ 2 = 1 262 637 637 541 + 1;
- 1 262 637 637 541 ÷ 2 = 631 318 818 770 + 1;
- 631 318 818 770 ÷ 2 = 315 659 409 385 + 0;
- 315 659 409 385 ÷ 2 = 157 829 704 692 + 1;
- 157 829 704 692 ÷ 2 = 78 914 852 346 + 0;
- 78 914 852 346 ÷ 2 = 39 457 426 173 + 0;
- 39 457 426 173 ÷ 2 = 19 728 713 086 + 1;
- 19 728 713 086 ÷ 2 = 9 864 356 543 + 0;
- 9 864 356 543 ÷ 2 = 4 932 178 271 + 1;
- 4 932 178 271 ÷ 2 = 2 466 089 135 + 1;
- 2 466 089 135 ÷ 2 = 1 233 044 567 + 1;
- 1 233 044 567 ÷ 2 = 616 522 283 + 1;
- 616 522 283 ÷ 2 = 308 261 141 + 1;
- 308 261 141 ÷ 2 = 154 130 570 + 1;
- 154 130 570 ÷ 2 = 77 065 285 + 0;
- 77 065 285 ÷ 2 = 38 532 642 + 1;
- 38 532 642 ÷ 2 = 19 266 321 + 0;
- 19 266 321 ÷ 2 = 9 633 160 + 1;
- 9 633 160 ÷ 2 = 4 816 580 + 0;
- 4 816 580 ÷ 2 = 2 408 290 + 0;
- 2 408 290 ÷ 2 = 1 204 145 + 0;
- 1 204 145 ÷ 2 = 602 072 + 1;
- 602 072 ÷ 2 = 301 036 + 0;
- 301 036 ÷ 2 = 150 518 + 0;
- 150 518 ÷ 2 = 75 259 + 0;
- 75 259 ÷ 2 = 37 629 + 1;
- 37 629 ÷ 2 = 18 814 + 1;
- 18 814 ÷ 2 = 9 407 + 0;
- 9 407 ÷ 2 = 4 703 + 1;
- 4 703 ÷ 2 = 2 351 + 1;
- 2 351 ÷ 2 = 1 175 + 1;
- 1 175 ÷ 2 = 587 + 1;
- 587 ÷ 2 = 293 + 1;
- 293 ÷ 2 = 146 + 1;
- 146 ÷ 2 = 73 + 0;
- 73 ÷ 2 = 36 + 1;
- 36 ÷ 2 = 18 + 0;
- 18 ÷ 2 = 9 + 0;
- 9 ÷ 2 = 4 + 1;
- 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.
10 101 101 100 334(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
10 101 101 100 334 (base 10) = 1001 0010 1111 1101 1000 1000 1010 1111 1101 0010 1110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.