What is the binary number 10010001 in decimal?

Answer and explanation

Correct answer: D. 145

  1. Step 1: Add the place values of the 1 bits (128, 64, 32, ...).
  2. Step 2: The result is 145.
Answer
145.
Why not the others: 146, 144 and 137 do not fit.

Practise more Python programming and algorithms.

Free questions with an explanation for every one, and full timed Saudi Secondary School Certificate mock tests.

What is the binary… | Saudi Secondary School Certificate