GATE / CS ARCHIVE

GATE CSE 1993 / QUESTION 6.5.b

Decimal to hexadecimal

Digital Logic · Number Systems & Computer Arithmetic · Full GATE CSE 1993 paper

GATE 1993, Q6.5.b Other
Report issue

Number Systems & Computer Arithmetic

Question 6.5.b, GATE 1993: Convert (1118)₁₀ to base H as printed. Interpret H explicitly.
Question 6.5.b, GATE 1993: Convert (1118)₁₀ to base H as printed. Interpret H explicitly.
Tap to enlarge
Answer & solution

Answer: 45E₁₆, if H denotes hexadecimal (no official key was published)

Taking H as the conventional hexadecimal notation, divide 1118 by 16: quotient 69,remainder 14=E. Divide 69 by 16: quotient 4,remainder 5. The final quotient 4 is the leading digit, giving 45E. Verify by expansion: 4·256+5·16+14=1024+80+14=1118. The source labels the desired base H rather than the number 16, so the hexadecimal interpretation is stated. If H were instead an unspecified variable radix, a unique numeral could not be supplied.

Original paper, page 5