Open In App

GATE | GATE-CS-2005 | Question 90

The hexadecimal representation of 6578 is
(A) 1AF
(B) D78
(C) D71
(D) 32F

Answer: (A)
Explanation: We can first convert to Binary, we get 110 101 111. Then convert binary to base 16, we get 1AF (0001 1010 1111).

(657)base 8=



Writing binary of each digit=>  110=6

=> 101=5



=> 111=7

Adding extra 0’s I beginning to make groups of 4 binary digits each

000110101111= 0001 1010 1111

In octal

So Ans is (A) part.
Quiz of this Question

Article Tags :