What are the required steps to convert base 10 decimal system
number 234 235 317 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;
- 234 235 317 ÷ 2 = 117 117 658 + 1;
- 117 117 658 ÷ 2 = 58 558 829 + 0;
- 58 558 829 ÷ 2 = 29 279 414 + 1;
- 29 279 414 ÷ 2 = 14 639 707 + 0;
- 14 639 707 ÷ 2 = 7 319 853 + 1;
- 7 319 853 ÷ 2 = 3 659 926 + 1;
- 3 659 926 ÷ 2 = 1 829 963 + 0;
- 1 829 963 ÷ 2 = 914 981 + 1;
- 914 981 ÷ 2 = 457 490 + 1;
- 457 490 ÷ 2 = 228 745 + 0;
- 228 745 ÷ 2 = 114 372 + 1;
- 114 372 ÷ 2 = 57 186 + 0;
- 57 186 ÷ 2 = 28 593 + 0;
- 28 593 ÷ 2 = 14 296 + 1;
- 14 296 ÷ 2 = 7 148 + 0;
- 7 148 ÷ 2 = 3 574 + 0;
- 3 574 ÷ 2 = 1 787 + 0;
- 1 787 ÷ 2 = 893 + 1;
- 893 ÷ 2 = 446 + 1;
- 446 ÷ 2 = 223 + 0;
- 223 ÷ 2 = 111 + 1;
- 111 ÷ 2 = 55 + 1;
- 55 ÷ 2 = 27 + 1;
- 27 ÷ 2 = 13 + 1;
- 13 ÷ 2 = 6 + 1;
- 6 ÷ 2 = 3 + 0;
- 3 ÷ 2 = 1 + 1;
- 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.
234 235 317(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
234 235 317 (base 10) = 1101 1111 0110 0010 0101 1011 0101 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.