What would be the 2's complement representation of the —15 decimal value?
Show answerHide answer
Correct answer: (C) 1111
Explanation
Note: the answer key gives (C), but 1111 is −1 in 4-bit two's complement, and −15 cannot fit in 4 bits. With 5 bits, 15 = 01111, so −15 = 10001 (option D).