IAE Academy

ISRO CS 2025 Q.51: solution and answer

ISRO 2025 · CSQ.51 · 1 mark · MCQ

Let A = (11111010)_2 and B = (00001010)_2 represent numbers in 2's complement and stored as 1 byte. The product of A and B in 2's complement is

  1. (A)

    (1001 1100)_2

  2. (B)

    (1010 0101)_2

  3. (C)

    (1100 0100)_2

  4. (D)

    (1101 0101)_2

See the question in the paper

Answer and solution

ANSWER

The product is , stored in 8-bit 2's complement as , option (c).

Official answer: CSource: ISRO's final answer key of 15 May 2026

  1. The sign bit of is 1, so is negative. Invert the bits to get and add 1 to get . So .

  2. has sign bit 0, so .

  3. The product is . This lies in the 8-bit 2's complement range , so there is no overflow.

  4. The 8-bit 2's complement representation of is .

  5. To check by bits, write . Invert to and add 1 to get . Also , which gives .

  6. So the product is , which is option (c).

  7. The other options read , and as unsigned numbers. As signed 8-bit values they are , and . None of these is .

KEY IDEA

Decode each 2's complement number to its signed value, multiply as ordinary integers, check the result fits in 8 bits, then encode it back as plus the negative value.

WATCH OUT FOR

Reading as the unsigned number 250, or forgetting to add 1 after inverting the bits. Either gives a wrong magnitude for and a wrong product.

From the ISRO CS 2025 paper. Every question of this paper · The full paper (PDF, ISRO) · All 2 ISRO Number systems questions, with notes