Computer Science, asked by subodhkumartiuld, 1 month ago

Convert the following decimal numbers into binary numbers
1. 987
2. 657
Step by step answer ​

Answers

Answered by nanditamaity1980
1

Answer:

Number 68:-

First, let us write 68(Dec) in terms of powers of 2.

That is, 68 = 64 + 4.

Now, let us arrange 64 & 4 in their respective 2’s power places, and write other places as 0s.

That is, 68 = 64 + 0 + 0 + 0 + 4 + 0 +0.

Now, let us remove the + signs and write 1s where 64 & 4 are written. Let us also retain 0s in other places.

That is, 68 (Dec) = 1000100 (bin). (ANS).

Number 987:-

987 = 512 + 256 + 128 + 64 + 0 + 16 + 8 + 0 + 2 +1.

Therefore, 987 (Dec) = 1111011011(bin). (ANS).

Similar questions