GATE | GATE-CS-2001 | Question 35
The 2’s complement representation of (−539)10 in hexadecimal is
Explanation: -53910 = 1 010 0001 10112 ( Leftmost 1 denotes negative )
One’s complement = 1 101 1110 0100
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.
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