What are the required steps to convert base 10 decimal system
number 70 254 382 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;
- 70 254 382 ÷ 2 = 35 127 191 + 0;
- 35 127 191 ÷ 2 = 17 563 595 + 1;
- 17 563 595 ÷ 2 = 8 781 797 + 1;
- 8 781 797 ÷ 2 = 4 390 898 + 1;
- 4 390 898 ÷ 2 = 2 195 449 + 0;
- 2 195 449 ÷ 2 = 1 097 724 + 1;
- 1 097 724 ÷ 2 = 548 862 + 0;
- 548 862 ÷ 2 = 274 431 + 0;
- 274 431 ÷ 2 = 137 215 + 1;
- 137 215 ÷ 2 = 68 607 + 1;
- 68 607 ÷ 2 = 34 303 + 1;
- 34 303 ÷ 2 = 17 151 + 1;
- 17 151 ÷ 2 = 8 575 + 1;
- 8 575 ÷ 2 = 4 287 + 1;
- 4 287 ÷ 2 = 2 143 + 1;
- 2 143 ÷ 2 = 1 071 + 1;
- 1 071 ÷ 2 = 535 + 1;
- 535 ÷ 2 = 267 + 1;
- 267 ÷ 2 = 133 + 1;
- 133 ÷ 2 = 66 + 1;
- 66 ÷ 2 = 33 + 0;
- 33 ÷ 2 = 16 + 1;
- 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.
70 254 382(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
70 254 382 (base 10) = 100 0010 1111 1111 1111 0010 1110 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.