Computer Science for IGCSE & O level - Data Representation (Section 11 - No. 29)

Which of the following is the binary representation of -2 in 4-bit two's complement?
1110
1111
0010
0000

Explanation

2 is 0010. Inverting bits gives 1101, adding 1 gives 1110.

Comments (0)

Advertisement