Gate CS-2003 Question Paper With Solutions

Q. 31 Consider the ALU shown below

Gate CS-2003 Question Paper With SolutionsIf the operands are in 2’s complement representation, which of the following operations can be performed by suitably setting the control lines K and C0 only(+ and – denote addition and subtraction respectively)?

(A) A + B, and A – B,but notA + 1

(B) A + B,and A + 1,but notA – B

(C) A + B,but not A – B,orA + 1

(D) A + B,and A – B,andA + 1

Answer: (A)

Explanation:

Gate CS-2003 Question Paper With Solutions

Learn More:   Gate CS-2005 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here