Skip to content
Related Articles

Related Articles

Improve Article
GATE | GATE-CS-2005 | Question 90
  • Last Updated : 19 Nov, 2018

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

  • 0001 =1
  • 1010 =A
  • 1111 =F

So Ans is (A) part.

Quiz of this Question

Attention reader! Don’t stop learning now. Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :