Computer Science, asked by anupabhuinya, 10 months ago

convert decimal into binary step - by- step explanation
1. 27 .
2. 58​

Answers

Answered by vedantisurani
0

Answer:

1. 11011

2. 111010

Explanation:

Decimal to binary conversion involves redefining the number you wish to convert. 7 can be represented as simply 7. Or, it can be represented as 4+3. Rewriting the number is the first step in converting to binary. Most importantly, we want to dissect our decimal into the sum of powers of 2.

So let’s look at 7, and let’s consider the powers of 2. What power of 2 is closest to the number 7 while being equal or less than 7?

2² gives us 4, so we’re going to use 4 to start disassembling 7. We must add 3 to make up the rest of 7. So now, we can consider 7=4+3.

It might be helpful to have a table of powers of 2 for reference. We’ve included part of the table in the picture below.

Similar questions