In 16-bit 2’s complement representation, the decimal number −28 is

In 16-bit 2’s complement representation, the decimal number −28 is

Q. 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

Ans: 1111 1111 1110 0100

Solution:

+28 ⇒ 0000 0000 0001 1100 –28 ⇒ 1111 1111 1110 0100 (2’s complement form)

Gkseries: Gkseries.com is a premier website to provide complete solution for online preparation of different competitive exams like UPSC, SBI PO, SBI clerical, PCS, IPS, IAS, IBPS PO, IBPS Clerical exam etc. & other graduate and post-graduate exams. Learn more on about us page