GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 17

Octal to hexadecimal conversion

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

GATE 2005, Q17 1 mark · MCQ
Report issue

Number Systems & Computer Arithmetic

Question 17, GATE 2005: Convert octal 657 to hexadecimal: A 1AF; B D78; C D71; D 32F. Clearer GateForum source confirms option A.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step through it (9 steps)

657 in octal is 6×64+5×8+7=431. Dividing into hexadecimal digits gives 1×256+10×16+15=1AF, A. Equivalently, octal bits 110101111 regroup as 0001 1010 1111.

Convert via place values:6·8²+5·8+7=384+40+7=431. In hexadecimal 431=1·256+10·16+15, giving 1AF. Equivalently octal digit triples 110101111 become 0001 1010 1111. The answer is A, spelling 1AF; the clearer alternate confirms the faint final glyph in that choice.

Original paper, page 2