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:
- A.
𝑛 bits
- B.
𝑛 − 1 bits
- C.
𝑛 + 1 bits
- D.
𝑛 + 2 bits
Attempted by 1190 students.
Sign up free to check your answer
Sign up freeLoading lesson…