GATE CS 2024 Set 1 | Question 13

Computer Organization & Architecture › Machine Instructions · MCQ · 1 mark · Answer: B

  1. Question 13Computer Organization & Architecturemcq1 mark
    A system uses 5-bit 2's complement. and . Which operation results in arithmetic overflow/underflow?
    • A.
    • B.
      ✓
    • C.
    • D.

    Answer: B

    Solution

    Answer: (B) Values: , (range of 5-bit 2's complement is to ). - — in range. No overflow. - — exceeds -> overflow. - — within range (). OK. - — in range. Only cannot be represented, so it overflows.

More GATE PYQ on Machine Instructions

All GATE CS Computer Organization & Architecture PYQ →

Attempt GATE CS 2024 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →