GATE | GATE-CS-2000 | Question 49

The number 43 in 2’s complement representation is

(A) 01010101
(B) 11010101
(C) 00101011
(D) 10101011


Answer: (C)

Explanation: In2’s complement representation, positive numbers are represented as their representation and negative numbers are represented by first doing 1’s complement, then adding 1 to the result.

So 43 is represented as 00101011.



Note that option represents -43.

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.