GATE / CS ARCHIVE

GATE CSE 2002 / QUESTION 2.3

Composition of an implication-like function

Digital Logic · Boolean Algebra & Logic Gates · Full GATE CSE 2002 paper

GATE 2002, Q2.3 2 marks · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 2.3, GATE 2002: Define the Boolean function f(A,B)=A′+B, where prime is complement and + is OR. Simplify f(f(x+y,y),z).
(A) x′+z; (B) xyz; (C) xy′+z; (D) None of these.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Step 1: Simplify one function application at a time.

Step 2: First substitute A=x+y,B=y into A′+B. De Morgan gives x′y′+y, and absorption y+x′y′=y+x′ simplifies it. Now use that entire expression as the first argument of the outer function: (x′+y)′+z=xy′+z. Complementing only one component of the inner result would give the wrong expression.

Conclusion: The inner function is f(x+y,y)=(x+y)′+y=x′y′+y=x′+y. Applying f again gives (x′+y)′+z=xy′+z, C.

Original paper, page 4