Computer Science for IGCSE & O level - Data Representation (Section 15 - No. 36)

What is the two's complement representation of the decimal number -4 using 4 bits?
1000
1011
1100
0100

Explanation

Four in binary is 0100. Inverting and adding 1 = 1100.

Comments (0)

Advertisement