Skip to content
GATEiit

GATE CSE 2026 Session 1 Q22: Overflow with 8-bit sign-magnitude operands

Question

Consider the 8-bit signed integers XX, YY and ZZ represented using the sign-magnitude form. The binary representations of XX and YY are as follows:

XX: 10110100 \qquad YY: 01001100

Which of the following operations to compute ZZ result(s) in an arithmetic overflow?

Try it: multiple select: one or more correct options

Select one or more options
Select all correct options. No negative marking, no partial marks.
Show answer and explanation

Answer: B, C (official GATE 2026 final answer key)

Concept used: 8-bit sign-magnitude represents −127-127 to +127+127.

First step: Decode X=−52X = -52 and Y=+76Y = +76, then compute each result and compare with ±127\pm 127.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2026 Session 1 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key