Open In App

GATE | GATE CS 1999 | Question 42

Last Updated : 30 Sep, 2021
Like Article
Like
Save
Share
Report

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 complements:
1 – All bits are Zero.
2 – All bits are 1
So, option (B) is correct.

Quiz of this Question


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads