Consider Z = X – Y, where X, Y and Z are all in sign-magnitude form. X and Y…

GATE · 2019 · CS · Computer Science & IT

Consider Z = X – Y, where X, Y and Z are all in sign-magnitude form. X and Y are each represented in 𝑛 bits. To avoid overflow, the representation of Z would require a minimum of:

  1. A.

    𝑛 bits

  2. B.

    𝑛 − 1 bits

  3. C.

    𝑛 + 1 bits

  4. D.

    𝑛 + 2 bits

Attempted by 1190 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…