...
GATE 2010
January 21, 2024
GATE 2010
January 21, 2024
GATE 2010
January 21, 2024
GATE 2010
January 21, 2024

Question 9022 – GATE 2010

P is a 16-bit signed integer. The 2’s complement representation of P is (F87B)16. The 2’s complement representation of 8*P is

Correct Answer: A

Question 8 Explanation: 
(F87B)16 is 2’s complement representation of P.
(F87B)16=(1111 1000 0111 1011)2. (It is a negative number which is in 2’s complement form)
P = 1111 1000 0111 1011 (2’s complement form)
8 * P = 23* P = 1100 0011 1101 1000. ( NOTE: Left shift k times is equivalent to Multiplication by 2k)
Hence, 1100 0011 1101 1000 is 2’s complement representation of 8P.
1100 0011 1101 1000 = (C3D8)16.

A
(C3D8)16
B
(187B)16
C
(F878)16
D
(987B)16

Leave a Reply

Your email address will not be published. Required fields are marked *