Open In App

GATE | GATE-CS-2005 | Question 90

Like Article
Like
Save
Share
Report

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


Last Updated : 19 Nov, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads