Question
Let the representation of a number in base 3 be 210. What is the hexadecimal representation of the number?
Official answer and solution
- Official answer
- A
- From
- Official GATE 2021 answer key
Solution
Convert the base-3 number to decimal, then convert the decimal value to hexadecimal.
The number is . Expanding in base 10:
Now convert to hexadecimal (base 16):
Therefore, the hexadecimal representation is 15, matching option A.
Final answer
A
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2021 Computer Science and Information Technology (CS, Set-1)
- Question
- 16 of 65, printed as CS Q.6
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.