GATE / CS ARCHIVE

GATE CSE 2021 SET 1 / QUESTION 6

GATE CSE 2021 Set 1 Q6

Digital Logic · Number Systems & Computer Arithmetic · Full GATE CSE 2021 Set 1 paper

GATE 2021 Set 1, Q6 1 mark · MCQ
Report issue

Number Systems & Computer Arithmetic

Question 6, GATE 2021: A number is 210 in base 3. What is its hexadecimal representation? A 15; B 21; C D2; D 528.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Step through it (8 steps)

The ternary numeral 210 represents 2·3²+1·3=21 decimal. Since21=1·16+5, its hexadecimal representation is 15, A.

The positional expansion is 2×9+1×3+0×1=21. Converting that decimal result to base 16 gives quotient 1 and remainder 5. Conversely hexadecimal 15 evaluates to 16+5=21, providing a reverse check. The visible digits 210 are not a decimal number to be converted directly.

Original paper, page 14 · Answer key