Computer Science, asked by kritika00000, 1 month ago

please give me answer​

Attachments:

Answers

Answered by vyuv
1

Answer:

Step by step solution

Step 1: Write down the binary number:

10101

Step 2: Multiply each digit of the binary number by the corresponding power of two:

1x24 + 0x23 + 1x22 + 0x21 + 1x20

Step 3: Solve the powers:

1x16 + 0x8 + 1x4 + 0x2 + 1x1 = 16 + 0 + 4 + 0 + 1

Step 4: Add up the numbers written above:

16 + 0 + 4 + 0 + 1 = 21.

So, 21 is the decimal equivalent of the binary number 10101.

Similar questions