Computer Science for IGCSE & O level - Data Representation (Section 1 - No. 41)

In a 4-bit two's complement system, what is the two's complement of -2?
1110
1101
0010
0011

Explanation

Convert 2 (0010), invert (1101) add 1 (1110). Convert 2, invert the bits (1101) add 1 (1110).

Comments (0)

Advertisement