Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

GATE | GATE CS 2019 | Question 14

  • Last Updated : 27 Sep, 2021

In 16-bit 2’s complement representation, the decimal number −28 is:
(A) 1111 1111 0001 1100
(B) 0000 0000 1110 0100
(C) 1111 1111 1110 0100
(D) 1000 0000 1110 0100


Answer: (C)

Explanation: 2’s complement of a decimal number:

+28 ⇒ 0000 0000 0001 1100

–28 ⇒ 1111 1111 1110 0100 (2’s complement form)

Option (C) is correct.



Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!