Gkseries.com

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)

Exit mobile version