What is the 2’s complement representation of -5 using 8 bits?
Options
A.
00000101
B.
11111010
C.
11111011
D.
10000101
E.
None of the above
Correct Answer (Detailed Explanation is Below)
C.
11111011
Detailed Explanation
Correct Answer: (C) 11111011 First write +5 in 8-bit binary: 00000101. Invert all bits: 11111010. Add 1: 11111010 + 1 = 11111011. This is the 8-bit 2’s complement representation of -5.