Quiz Champion

The decimal number 31 in hexadecimal would be what?

  • 3D
  • 1F
  • 2E
  • 1B
Explanation

The decimal number 31 in hexadecimal would be represented as 1F. In the hexadecimal numbering system, which has a base of 16, the digits range from 0 to 15. Since 31 cannot be represented by a single digit in hexadecimal, it is broken down into two digits: 1 and F. The digit '1' represents 1 multiplied by 16 raised to the power of 1 (16^1), which equals 16. The digit 'F' represents 15 multiplied by 16 raised to the power of 0 (16^0), which equals 15. Adding these two values together, we get 16 + 15 = 31. Therefore, the decimal number 31 in hexadecimal is represented as 1F.