Skip to content
Official PYQ · 2015

GATE CS 2015 Set 1 Q39 — Boolean Algebra

Explain with AI

Consider the operations

f (X, Y, Z) = X’YZ + XY’ + Y’Z’\textit{f (X, Y, Z) = X'YZ + XY' + Y'Z'} and g (X, Y, Z) = X’YZ + X’YZ’ + XY\textit{g (X, Y, Z) = X'YZ + X'YZ' + XY}

Which one of the following is correct?

Choose one option
View worked solution

Answer: B

To determine functional completeness, we analyze each function individually.

1. Analysis of g(X,Y,Z)g(X, Y, Z):

We simplify the expression for g(X,Y,Z)g(X, Y, Z) using Boolean algebra:

g(X,Y,Z)=X′YZ+X′YZ′+XYg(X, Y, Z) = X'YZ + X'YZ' + XYg(X,Y,Z)=X′Y(Z+Z′)+XYg(X, Y, Z) = X'Y(Z + Z') + XYg(X,Y,Z)=X′Y(1)+XY=Y(X′+X)=Yg(X, Y, Z) = X'Y(1) + XY = Y(X' + X) = Y

Since g(X,Y,Z)=Yg(X, Y, Z) = Y, any combination of this function merely outputs its second argument. It is impossible to generate basic operations like NOT, AND, or OR. Thus, {g}\{g\} is not functionally complete.

2. Analysis of f(X,Y,Z)f(X, Y, Z):

Given f(X,Y,Z)=X′YZ+XY′+Y′Z′f(X, Y, Z) = X'YZ + XY' + Y'Z':

  • NOT Gate: Substitute Y=XY = X and Z=XZ = X:
    f(X,X,X)=X′XX+XX′+X′X′=0+0+X′=X′f(X, X, X) = X'XX + XX' + X'X' = 0 + 0 + X' = X'.
    Thus, we can implement the NOT operation.
  • Constant 0 and 1: Since we have the NOT operation, we can generate X′X' from XX. Now, substitute Y=XY = X and Z=X′Z = X':
    f(X,X,X′)=X′XX′+XX′+X′(X′)′=0+0+0=0f(X, X, X') = X'XX' + XX' + X'(X')' = 0 + 0 + 0 = 0.
    This gives us the constant 00, and consequently, the constant 11 (since 0′=10' = 1).
  • AND Gate: Substitute X=X′X = X', Y=1Y = 1, and Z=ZZ = Z:
    f(X′,1,Z)=(X′)′(1)Z+X′(1)′+(1)′Z′=XZ+0+0=XZf(X', 1, Z) = (X')'(1)Z + X'(1)' + (1)'Z' = XZ + 0 + 0 = XZ.
    This gives us the AND operation.

Since we can implement both NOT and AND operations, the set {f}\{f\} is functionally complete.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Boolean Algebra questions