Q
Which representation has two representations of zero (+0 and -0)?
-
A
Excess-128 only
-
B
Unsigned binary
-
C
Sign-magnitude (and one's complement)
-
D
Two's complement
Correct Answer:
C. Sign-magnitude (and one's complement)
Explanation:
Two's complement has a single zero, which is one reason modern hardware uses it.