Skip to content
Related Articles

Related Articles

GATE | GATE-CS-2001 | Question 35

Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 28 Jun, 2021
Improve Article
Save Article

The 2’s complement representation of (−539)10 in hexadecimal is
(A) ABE
(B) DBC
(C) DE5
(D) 9E7


Answer: (C)

Explanation: -53910 = 1 010 0001 10112 ( Leftmost 1 denotes negative )

One’s complement = 1 101 1110 0100

Two’s complement = 1 101 1110 0101

Converting this two’s complement to hexadecimal form, we get DE5.

 

Thus, C is the correct choice.

 

Please comment below if you find anything wrong in the above post.

Quiz of this Question

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!