GATE | GATE CS 1999 | Question 42

Zero has two representations in:

a) Sign magnitude

b) 1’s complement

c) 2’s complement

d) None of the above
(A) Only a
(B) a and b
(C) a and c
(D) a, b and c

Answer: (B)

Explanation: Zero has two representation in sign’s magnitude:
1 – MSB is 0
2 – MSB is 1
Both of these representation have equal value that is 0.
Also zero have two representation in 1’s compliments:
1 – All bits are Zero.
2 – All bits are 1
So, option (B) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up

Improved By : sanjaystalwart108

Article Tags :


Please write to us at to report any issue with the above content.