What are the required steps to convert base 10 decimal system
number 574 654 431 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;
- 574 654 431 ÷ 2 = 287 327 215 + 1;
- 287 327 215 ÷ 2 = 143 663 607 + 1;
- 143 663 607 ÷ 2 = 71 831 803 + 1;
- 71 831 803 ÷ 2 = 35 915 901 + 1;
- 35 915 901 ÷ 2 = 17 957 950 + 1;
- 17 957 950 ÷ 2 = 8 978 975 + 0;
- 8 978 975 ÷ 2 = 4 489 487 + 1;
- 4 489 487 ÷ 2 = 2 244 743 + 1;
- 2 244 743 ÷ 2 = 1 122 371 + 1;
- 1 122 371 ÷ 2 = 561 185 + 1;
- 561 185 ÷ 2 = 280 592 + 1;
- 280 592 ÷ 2 = 140 296 + 0;
- 140 296 ÷ 2 = 70 148 + 0;
- 70 148 ÷ 2 = 35 074 + 0;
- 35 074 ÷ 2 = 17 537 + 0;
- 17 537 ÷ 2 = 8 768 + 1;
- 8 768 ÷ 2 = 4 384 + 0;
- 4 384 ÷ 2 = 2 192 + 0;
- 2 192 ÷ 2 = 1 096 + 0;
- 1 096 ÷ 2 = 548 + 0;
- 548 ÷ 2 = 274 + 0;
- 274 ÷ 2 = 137 + 0;
- 137 ÷ 2 = 68 + 1;
- 68 ÷ 2 = 34 + 0;
- 34 ÷ 2 = 17 + 0;
- 17 ÷ 2 = 8 + 1;
- 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.
574 654 431(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
574 654 431 (base 10) = 10 0010 0100 0000 1000 0111 1101 1111 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.