HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-02-28
1 <p>1989 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>1989 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 <p><strong>Expansion Method:</strong>Let us see the step-by-step process of converting 1989 using the expansion method.</p>
2 <p><strong>Expansion Method:</strong>Let us see the step-by-step process of converting 1989 using the expansion method.</p>
3 <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>
3 <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>20 = 1</p>
4 <p>20 = 1</p>
5 <p>21 = 2</p>
5 <p>21 = 2</p>
6 <p>22 = 4</p>
6 <p>22 = 4</p>
7 <p>23 = 8</p>
7 <p>23 = 8</p>
8 <p>24 = 16</p>
8 <p>24 = 16</p>
9 <p>25 = 32</p>
9 <p>25 = 32</p>
10 <p>26 = 64</p>
10 <p>26 = 64</p>
11 <p>27 = 128</p>
11 <p>27 = 128</p>
12 <p>28 = 256</p>
12 <p>28 = 256</p>
13 <p>29 = 512</p>
13 <p>29 = 512</p>
14 <p>210 = 1024</p>
14 <p>210 = 1024</p>
15 <p>211 = 2048</p>
15 <p>211 = 2048</p>
16 <p>Since 2048 is<a>greater than</a>1989, we stop at 210 = 1024.</p>
16 <p>Since 2048 is<a>greater than</a>1989, we stop at 210 = 1024.</p>
17 <p><strong>Step 2 -</strong>Identify the largest power of 2: In the previous step, we stopped at 210 = 1024. 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, 1989. Since 210 is the number we are looking for, write 1 in the 210 place. Now the value of 210, which is 1024, is subtracted from 1989. 1989 - 1024 = 965.</p>
17 <p><strong>Step 2 -</strong>Identify the largest power of 2: In the previous step, we stopped at 210 = 1024. 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, 1989. Since 210 is the number we are looking for, write 1 in the 210 place. Now the value of 210, which is 1024, is subtracted from 1989. 1989 - 1024 = 965.</p>
18 <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, 965. So, the next largest power of 2 is 29, which is less than or equal to 965. Now, we have to write 1 in the 29 place. And then subtract 512 from 965. 965 - 512 = 453.</p>
18 <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, 965. So, the next largest power of 2 is 29, which is less than or equal to 965. Now, we have to write 1 in the 29 place. And then subtract 512 from 965. 965 - 512 = 453.</p>
19 <p><strong>Step 4 -</strong>Repeat until remainder is 0: Continue identifying the next largest power of 2 and writing 1 in those places. Subtract until the remainder is 0.</p>
19 <p><strong>Step 4 -</strong>Repeat until remainder is 0: Continue identifying the next largest power of 2 and writing 1 in those places. Subtract until the remainder is 0.</p>
20 <p><strong>Step 5 -</strong>Fill in with 0s: For unused place values, write 0. Now, by substituting the values, we get the binary representation of 1989 as 11111000101.</p>
20 <p><strong>Step 5 -</strong>Fill in with 0s: For unused place values, write 0. Now, by substituting the values, we get the binary representation of 1989 as 11111000101.</p>
21 <p><strong>Grouping Method:</strong>In this method, we divide the number 1989 by 2. Let us see the step-by-step conversion.</p>
21 <p><strong>Grouping Method:</strong>In this method, we divide the number 1989 by 2. Let us see the step-by-step conversion.</p>
22 <p><strong>Step 1 -</strong>Divide the given number 1989 by 2. 1989 / 2 = 994. Here, 994 is the quotient and 1 is the remainder.</p>
22 <p><strong>Step 1 -</strong>Divide the given number 1989 by 2. 1989 / 2 = 994. Here, 994 is the quotient and 1 is the remainder.</p>
23 <p><strong>Step 2 -</strong>Divide the previous quotient (994) by 2. 994 / 2 = 497. Here, the quotient is 497 and the remainder is 0.</p>
23 <p><strong>Step 2 -</strong>Divide the previous quotient (994) by 2. 994 / 2 = 497. Here, the quotient is 497 and the remainder is 0.</p>
24 <p><strong>Step 3 -</strong>Repeat the previous step. 497 / 2 = 248. Now, the quotient is 248, and 1 is the remainder.</p>
24 <p><strong>Step 3 -</strong>Repeat the previous step. 497 / 2 = 248. Now, the quotient is 248, and 1 is the remainder.</p>
25 <p><strong>Step 4 -</strong>Continue dividing until the quotient is 0.</p>
25 <p><strong>Step 4 -</strong>Continue dividing until the quotient is 0.</p>
26 <p><strong>Step 5 -</strong>Write down the remainders from bottom to top. Therefore, 1989 (decimal) = 11111000101 (binary).</p>
26 <p><strong>Step 5 -</strong>Write down the remainders from bottom to top. Therefore, 1989 (decimal) = 11111000101 (binary).</p>
27  
27