GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2022

GATE 2022 · CS · MCQ · 1 mark · Digital Logic › Number Systems

GATE 2022 Computer Science and Information Technology question: Let R1 and R2 be two 4-bit registers that store numbers in 2's complement form. For the…

Let R1 and R2 be two 4-bit registers that store numbers in 2's complement form. For the operation R1+R2, which one of the following values of R1 and R2 gives an arithmetic overflow?

  1. (A)

    R1 = 1011 and R2 = 1110

  2. (B)

    R1 = 1100 and R2 = 1010

  3. (C)

    R1 = 0011 and R2 = 0100

  4. (D)

    R1 = 1001 and R2 = 1111

Show answer

This question is in an all-India live mock that is open now. Its answer appears here when the mock closes.

Practise this question with exam-style marking