StreakPeaked· Practice

ExamsGATETechnical

The decimal number 42 is represented in base 3 as 1120. What is the hexadecimal representation of 42?

  1. 2A
  2. 28
  3. 24
  4. 528

Correct answer: 2A

Solution

The hexadecimal representation of a decimal number is obtained by converting the decimal value directly to base 16. For the decimal number 42, the conversion results in 2A, where '2' represents 2 times 16 and 'A' represents 10, summing to 32 + 10 = 42.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →