What are the required steps to convert base 10 decimal system
number 10 100 011 011 984 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 100 011 011 984 ÷ 2 = 5 050 005 505 992 + 0;
- 5 050 005 505 992 ÷ 2 = 2 525 002 752 996 + 0;
- 2 525 002 752 996 ÷ 2 = 1 262 501 376 498 + 0;
- 1 262 501 376 498 ÷ 2 = 631 250 688 249 + 0;
- 631 250 688 249 ÷ 2 = 315 625 344 124 + 1;
- 315 625 344 124 ÷ 2 = 157 812 672 062 + 0;
- 157 812 672 062 ÷ 2 = 78 906 336 031 + 0;
- 78 906 336 031 ÷ 2 = 39 453 168 015 + 1;
- 39 453 168 015 ÷ 2 = 19 726 584 007 + 1;
- 19 726 584 007 ÷ 2 = 9 863 292 003 + 1;
- 9 863 292 003 ÷ 2 = 4 931 646 001 + 1;
- 4 931 646 001 ÷ 2 = 2 465 823 000 + 1;
- 2 465 823 000 ÷ 2 = 1 232 911 500 + 0;
- 1 232 911 500 ÷ 2 = 616 455 750 + 0;
- 616 455 750 ÷ 2 = 308 227 875 + 0;
- 308 227 875 ÷ 2 = 154 113 937 + 1;
- 154 113 937 ÷ 2 = 77 056 968 + 1;
- 77 056 968 ÷ 2 = 38 528 484 + 0;
- 38 528 484 ÷ 2 = 19 264 242 + 0;
- 19 264 242 ÷ 2 = 9 632 121 + 0;
- 9 632 121 ÷ 2 = 4 816 060 + 1;
- 4 816 060 ÷ 2 = 2 408 030 + 0;
- 2 408 030 ÷ 2 = 1 204 015 + 0;
- 1 204 015 ÷ 2 = 602 007 + 1;
- 602 007 ÷ 2 = 301 003 + 1;
- 301 003 ÷ 2 = 150 501 + 1;
- 150 501 ÷ 2 = 75 250 + 1;
- 75 250 ÷ 2 = 37 625 + 0;
- 37 625 ÷ 2 = 18 812 + 1;
- 18 812 ÷ 2 = 9 406 + 0;
- 9 406 ÷ 2 = 4 703 + 0;
- 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 100 011 011 984(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
10 100 011 011 984 (base 10) = 1001 0010 1111 1001 0111 1001 0001 1000 1111 1001 0000 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.