HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-02-28
1 <p>129 can be converted easily from decimal to binary. The methods mentioned below will help us convert the number. Let’s see how it is done.</p>
1 <p>129 can be converted easily from decimal to binary. The methods mentioned below will help us convert the number. Let’s see how it is done.</p>
2 <h3>Expansion Method:</h3>
2 <h3>Expansion Method:</h3>
3 <p>Let us see the step-by-step process of converting 129 using the expansion method.</p>
3 <p>Let us see the step-by-step process of converting 129 using the expansion method.</p>
4 <p><strong>Step 1 -</strong>Figure out the place values: In the binary system, each<a>place value</a>is a<a>power</a>of 2. Therefore, in the first step, we will ascertain the powers of 2.</p>
4 <p><strong>Step 1 -</strong>Figure out the place values: In the binary system, each<a>place value</a>is a<a>power</a>of 2. Therefore, in the first step, we will ascertain the powers of 2.</p>
5 <p>20 = 1</p>
5 <p>20 = 1</p>
6 <p>21 = 2</p>
6 <p>21 = 2</p>
7 <p>22 = 4</p>
7 <p>22 = 4</p>
8 <p>23 = 8</p>
8 <p>23 = 8</p>
9 <p>24 = 16</p>
9 <p>24 = 16</p>
10 <p>25 = 32</p>
10 <p>25 = 32</p>
11 <p>26 = 64</p>
11 <p>26 = 64</p>
12 <p>27 = 128</p>
12 <p>27 = 128</p>
13 <p>28 = 256</p>
13 <p>28 = 256</p>
14 <p>Since 256 is<a>greater than</a>129, we stop at 27 = 128.</p>
14 <p>Since 256 is<a>greater than</a>129, we stop at 27 = 128.</p>
15 <p><strong>Step 2 -</strong>Identify the largest power of 2: In the previous step, we stopped at 27 = 128. This is because, in this step, we have to identify the largest power of 2, which is<a>less than</a>or equal to the given number, 129. Since 27 is the number we are looking for, write 1 in the 27 place. Now the value of 27, which is 128, is subtracted from 129. 129 - 128 = 1.</p>
15 <p><strong>Step 2 -</strong>Identify the largest power of 2: In the previous step, we stopped at 27 = 128. This is because, in this step, we have to identify the largest power of 2, which is<a>less than</a>or equal to the given number, 129. Since 27 is the number we are looking for, write 1 in the 27 place. Now the value of 27, which is 128, is subtracted from 129. 129 - 128 = 1.</p>
16 <p><strong>Step 3 -</strong>Identify the next largest power of 2: In this step, we need to find the largest power of 2 that fits into the result of the previous step, 1. So, the next largest power of 2 is 2^0, which is less than or equal to 1 (in this case equal). Now, we have to write 1 in the 2^0 place. And then subtract 1 from 1. 1 - 1 = 0. We need to stop the process here since the remainder is 0.</p>
16 <p><strong>Step 3 -</strong>Identify the next largest power of 2: In this step, we need to find the largest power of 2 that fits into the result of the previous step, 1. So, the next largest power of 2 is 2^0, which is less than or equal to 1 (in this case equal). Now, we have to write 1 in the 2^0 place. And then subtract 1 from 1. 1 - 1 = 0. We need to stop the process here since the remainder is 0.</p>
17 <p><strong>Step 4 -</strong>Identify the unused place values: In step 2 and step 3, we wrote 1 in the 2^7 and 2^0 places. Now, we can just write 0s in the remaining places, which are 2^1 to 2^6. Now, by substituting the values, we get, 1 in the 2^7 place 0 in the 2^6 place 0 in the<a>2^5</a>place 0 in the 2^4 place 0 in the 2^3 place 0 in the 2^2 place 0 in the 2^1 place 1 in the 2^0 place</p>
17 <p><strong>Step 4 -</strong>Identify the unused place values: In step 2 and step 3, we wrote 1 in the 2^7 and 2^0 places. Now, we can just write 0s in the remaining places, which are 2^1 to 2^6. Now, by substituting the values, we get, 1 in the 2^7 place 0 in the 2^6 place 0 in the<a>2^5</a>place 0 in the 2^4 place 0 in the 2^3 place 0 in the 2^2 place 0 in the 2^1 place 1 in the 2^0 place</p>
18 <p><strong>Step 5 -</strong>Write the values in reverse order: We now write the numbers upside down to represent 129 in binary. Therefore, 10000001 is 129 in binary.</p>
18 <p><strong>Step 5 -</strong>Write the values in reverse order: We now write the numbers upside down to represent 129 in binary. Therefore, 10000001 is 129 in binary.</p>
19 <h3>Grouping Method:</h3>
19 <h3>Grouping Method:</h3>
20 <p>In this method, we divide the number 129 by 2. Let us see the step-by-step conversion.</p>
20 <p>In this method, we divide the number 129 by 2. Let us see the step-by-step conversion.</p>
21 <p><strong>Step 1 -</strong>Divide the given number 129 by 2. 129 / 2 = 64. Here, 64 is the quotient and 1 is the remainder.</p>
21 <p><strong>Step 1 -</strong>Divide the given number 129 by 2. 129 / 2 = 64. Here, 64 is the quotient and 1 is the remainder.</p>
22 <p><strong>Step 2 -</strong>Divide the previous quotient (64) by 2. 64 / 2 = 32. Here, the quotient is 32 and the remainder is 0. Step 3 - Repeat the previous step. 32 / 2 = 16. Now, the quotient is 16, and 0 is the remainder.</p>
22 <p><strong>Step 2 -</strong>Divide the previous quotient (64) by 2. 64 / 2 = 32. Here, the quotient is 32 and the remainder is 0. Step 3 - Repeat the previous step. 32 / 2 = 16. Now, the quotient is 16, and 0 is the remainder.</p>
23 <p><strong>Step 4 -</strong>Repeat the previous step. 16 / 2 = 8. Here, the quotient is 8, and 0 is the remainder.</p>
23 <p><strong>Step 4 -</strong>Repeat the previous step. 16 / 2 = 8. Here, the quotient is 8, and 0 is the remainder.</p>
24 <p><strong>Step 5 -</strong>Repeat the previous step. 8 / 2 = 4. Here, the quotient is 4, and 0 is the remainder.</p>
24 <p><strong>Step 5 -</strong>Repeat the previous step. 8 / 2 = 4. Here, the quotient is 4, and 0 is the remainder.</p>
25 <p><strong>Step 6 -</strong>Repeat the previous step. 4 / 2 = 2. Here, the quotient is 2, and 0 is the remainder.</p>
25 <p><strong>Step 6 -</strong>Repeat the previous step. 4 / 2 = 2. Here, the quotient is 2, and 0 is the remainder.</p>
26 <p><strong>Step 7 -</strong>Repeat the previous step. 2 / 2 = 1. Here, the quotient is 1, and 0 is the remainder.</p>
26 <p><strong>Step 7 -</strong>Repeat the previous step. 2 / 2 = 1. Here, the quotient is 1, and 0 is the remainder.</p>
27 <p><strong>Step 8 -</strong>Repeat the previous step. 1 / 2 = 0. Here, the remainder is 1. And we stop the<a>division</a>here because the quotient is 0.</p>
27 <p><strong>Step 8 -</strong>Repeat the previous step. 1 / 2 = 0. Here, the remainder is 1. And we stop the<a>division</a>here because the quotient is 0.</p>
28 <p><strong>Step 9 -</strong>Write down the remainders from bottom to top. Therefore, 129 (decimal) = 10000001 (binary).</p>
28 <p><strong>Step 9 -</strong>Write down the remainders from bottom to top. Therefore, 129 (decimal) = 10000001 (binary).</p>
29  
29