What are the required steps to convert base 10 decimal system
number 196 167 939 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;
- 196 167 939 ÷ 2 = 98 083 969 + 1;
- 98 083 969 ÷ 2 = 49 041 984 + 1;
- 49 041 984 ÷ 2 = 24 520 992 + 0;
- 24 520 992 ÷ 2 = 12 260 496 + 0;
- 12 260 496 ÷ 2 = 6 130 248 + 0;
- 6 130 248 ÷ 2 = 3 065 124 + 0;
- 3 065 124 ÷ 2 = 1 532 562 + 0;
- 1 532 562 ÷ 2 = 766 281 + 0;
- 766 281 ÷ 2 = 383 140 + 1;
- 383 140 ÷ 2 = 191 570 + 0;
- 191 570 ÷ 2 = 95 785 + 0;
- 95 785 ÷ 2 = 47 892 + 1;
- 47 892 ÷ 2 = 23 946 + 0;
- 23 946 ÷ 2 = 11 973 + 0;
- 11 973 ÷ 2 = 5 986 + 1;
- 5 986 ÷ 2 = 2 993 + 0;
- 2 993 ÷ 2 = 1 496 + 1;
- 1 496 ÷ 2 = 748 + 0;
- 748 ÷ 2 = 374 + 0;
- 374 ÷ 2 = 187 + 0;
- 187 ÷ 2 = 93 + 1;
- 93 ÷ 2 = 46 + 1;
- 46 ÷ 2 = 23 + 0;
- 23 ÷ 2 = 11 + 1;
- 11 ÷ 2 = 5 + 1;
- 5 ÷ 2 = 2 + 1;
- 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.
196 167 939(10) Base 10 decimal system number converted and written as a base 2 unsigned binary equivalent:
196 167 939 (base 10) = 1011 1011 0001 0100 1001 0000 0011 (base 2)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.