Answer and explanation

Correct answer: B. 31

  1. Step 1: Divide by 16 and write the quotient and remainder as hex digits.
  2. Step 2: 49 = 31 in hexadecimal.
Answer
31.
Why not the others: 32, 30 and 3E 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 decimal… | Saudi Secondary School Certificate