GATE 2017 CS (CS2) – Question 11
The hexadecimal representation of a 16-bit unsigned integer X is BCA9. Find its octal representation.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (D) 136251
Explanation
Convert hex digits to binary: BCA9 = 1011 1100 1010 1001. Group from the right into triples, adding leading zeros: 001 011 110 010 101 001. These are octal digits 1,3,6,2,5,1. Thus 136251, D.