GATE / CS ARCHIVE

SIMILAR QUESTIONS / DIGITAL LOGIC

Reduce Boolean formulas algebraically

10 questions solved the same way, newest first. Back to Digital Logic

How these are solved

Substitute any defined operator, distribute or apply De Morgan, absorption and consensus identities, then compare reduced formulas or disprove a claimed identity by a Boolean assignment. No supplied circuit, K-map, unknown simultaneous assignment, or restricted synthesis cost.

2 marks · MSQ
Report issue

Boolean Algebra & Logic Gates

Question 50, GATE 2025: Select every Boolean identity valid for all inputs. Use ¬ for NOT, juxtaposition for AND, and + for OR.
A. ¬ABC + A¬B¬C + ¬A¬B¬C + A¬BC + ABC = BC + ¬B¬C + ¬A¬B.
B. AB + ¬AC + BC = AB + ¬AC.
C. (A+C)(¬A+B) = AB + ¬AC.
D. ¬[(A+¬B+¬D)(C+D)(¬A+C+D)(A+B+¬D)] = ¬AD + ¬C¬D.
In expressions such as ¬ABC, the negation applies only to the immediately following variable A; the bracketed negation in D applies to the entire product.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B, C, D

B is the consensus identity. Split its extra term BC using A+¬A=1:
BC=ABC+¬ABC.
The term ABC is absorbed by AB, and ¬ABC is absorbed by ¬AC. Hence AB+¬AC+BC=AB+¬AC, proving B.

Expand C's left side: (A+C)(¬A+B)=A¬A+AB+¬AC+BC=AB+¬AC+BC. The first product vanishes, and B's consensus simplification yields the stated right side. Thus C holds.

For D, apply De Morgan to the outer complement and then to each sum:
¬[(A+¬B+¬D)(C+D)(¬A+C+D)(A+B+¬D)]
=¬ABD + ¬C¬D + A¬C¬D + ¬A¬BD.
Combine the first and fourth terms: ¬ABD+¬A¬BD=¬AD(B+¬B)=¬AD. Absorb A¬C¬D into ¬C¬D. The result is ¬AD+¬C¬D, so D holds.

A fails at A=0,B=0,C=1. Every term on its left is zero, but the right includes ¬A¬B=1. A single counterexample rejects a claimed identity. Select B,C,D. The scope of all complement bars, especially D's outer complement and its third factor, was checked on the source image.

Original paper, page 38 · Answer key

2 marks · MSQ
Report issue

Boolean Algebra & Logic Gates

Question 42, GATE 2021: Let F=(X+Y+Z)(¬X+Y)(¬Y+Z), where + is OR and adjacency AND. Select expressions equal to ¬F: A (¬X+¬Y+¬Z)(X+¬Y)(Y+¬Z); B X¬Y+¬Z; C (X+¬Z)(¬Y+¬Z); D X¬Y+Y¬Z+¬X¬Y¬Z.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B; C; D

Step through it (14 steps)

If Z=0, the product is (X+Y)(NOT X+Y)(NOT Y)=Y(NOT Y)=0. If Z=1, it is NOT X+Y. Thus F=Z(NOT X+Y) and its complement is NOT Z+X(NOT Y), option B. By (a+b)(c+b)=ac+b, C is the same expression. Direct De Morgan expansion gives X(NOT Y)+Y(NOT Z)+(NOT X)(NOT Y)(NOT Z), exactly D. Option A is false, for example at X=0, Y=1, Z=0: it evaluates to 0 while the complement of F is 1.

Algebraically, (X+Y)(¬X+Y)=Y, so setting Z=0 makes F=Y¬Y=0. Setting Z=1 leaves only ¬X+Y. Hence ¬F=¬Z+X¬Y. Expanding C gives X¬Y+X¬Z+¬Y¬Z+¬Z, which absorbs to B. De Morgan on the original three factors gives D directly. Checking A at (X,Y,Z)=(0,1,0) yields a zero second factor (X+¬Y), whereas F=0 and its complement must be 1; this single assignment rules A out.

Original paper, page 35 · Answer key

2 marks · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 27, GATE 2017: For Boolean variables w,x,y,z (juxtaposition=AND, +=OR, ¬=NOT), which equality is incorrect? A:wx+w(x+y)+x(x+y)=x+wy. B:¬[w¬x(y+¬z)]+¬w x=¬w+x+¬y z. C:[w¬x(y+x¬z)+¬w¬x]y=x¬y. D:(w+y)(wxy+wyz)=wxy+wyz.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

1. Check C by expanding its left side: w¬xyy+w¬xx¬zy+¬w¬xy. Since yy=y and ¬xx=0, this reduces to w¬xy+¬w¬xy=¬xy(w+¬w)=¬xy. The stated right side is x¬y, a different function.

2. A concrete counterexample is x=0,y=1, with any w,z. C then equates 1 with 0, so it is incorrect.

3. Verify the alternatives: A expands to wx+wx+wy+x+xy=x+wy by absorption. In B, De Morgan gives ¬w+x+¬y z for the complemented product; the extra ¬w x is absorbed. In D, every product inside the second factor already implies w+y, so multiplying by w+y changes nothing. C is uniquely false.

Original paper, page 10 · Answer key

1 mark · MCQ
Report issue

Logic Minimization & Karnaugh Maps

Question 7, GATE 2014: Simplify F(P,Q,R,S)=PQ+P̅QR+P̅QR̅S to a minimal sum of products. A: PQ+QR+QS. B: P+Q+R+S. C: P̅+Q̅+R̅+S̅. D: P̅R+P̅R̅S+P.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Step through it (11 steps)

1. Method and setup. Factor Q from every term. Then simplify inside the parentheses using absorption X+X̅Y=X+Y twice: first absorb the P̅ factor when P is already present, then simplify R+R̅S. A minimality argument must also show that none of the surviving products is dispensable.

2. Work through the result and its assumptions. Use X+X′Y=X+Y: PQ+P′QR=Q(P+R). Including P′QR′S gives Q[P+P′(R+R′S)]=Q(P+R+S)=PQ+QR+QS. The three products are essential, witnessed by Q=1 with exactly one of P, R, S equal 1. Thus A.

Original paper, page 9 · Answer key

1 mark · MCQ
Report issue

Simplifying product of sums

Logic Minimization & Karnaugh Maps

Question 14, GATE 2011: Find the simplified sum-of-products form of (P+Q'+R')(P+Q'+R)(P+Q+R'), where + is OR, juxtaposition is AND, and ' denotes complement.

(A) P'Q+R'
(B) P+Q'R'
(C) P'Q+R
(D) PQ+R
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Step through it (10 steps)

Using (P+A)(P+B)=P+AB, the product becomes P+(Q′+R′)(Q′+R)(Q+R′). The first two residual factors reduce to Q′. Then Q′(Q+R′)=Q′R′, yielding P+Q′R′, B.

First combine the first two factors by taking their common term X=P+Q': (X+R')(X+R)=X+R'R=X. The remaining product is (P+Q')(P+Q+R'). Apply the same common-term identity with common P to obtain P+Q'(Q+R')=P+Q'R'. This two-stage simplification avoids a long expansion of all eight products and makes the absorption of Q'Q=0 explicit.

Original paper, page 4 · Answer key

2 marks · MCQ
Report issue

Boolean-product simplification

Boolean Algebra & Logic Gates

Question 26, GATE 2008: Simplify (P+Q′)(PQ′+PR)(P′R′+Q′), where + is Boolean OR and juxtaposition is AND.

(A) PQ′
(B) PR′
(C) PQ′+R
(D) PR′+Q
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Step through it (9 steps)

1. Factor the middle term as P(Q′+R), so when P=0 the whole expression is 0.
2. For P=1, the first factor P+Q′ is 1; the middle is Q′+R; the last P′R′+Q′ is Q′.
3. Absorption gives (Q′+R)Q′=Q′. Combining both P cases yields PQ′, A. This checks the full function, not just a selected input.

Original paper, page 5

1 mark · MCQ
Report issue

Simplifying a Boolean sum

Boolean Algebra & Logic Gates

Question 17, GATE 2004: Simplify f=x′y′+xy+x′y, where prime denotes complement, juxtaposition AND and + OR.
Options:
(A) x′+y′
(B) x+y
(C) x+y′
(D) x′+y
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Step through it (10 steps)

1. x′y′+xy+x′y=x′(y′+y)+xy=x′+xy=x′+y by absorption. Thus D.

2. Teaching check: A case check confirms the algebra: when x=0, either y value satisfies x′y′+x′y, so output is 1; when x=1 only xy remains, so output equals y. The function is therefore x′ OR y, not x OR y′.

Original paper, page 3

2 marks · MCQ
Report issue

Composition of an implication-like function

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

1 mark · MCQ
Report issue

Composing an implication-like operator

Boolean Algebra & Logic Gates

Question 2.1, GATE 1997: Define x*y=¬x+y with Boolean OR+. Let z=x*y. Find z*x.
Tap to enlarge
Your answer
Answer & solution

Answer: B: x (no official key was published)

Substitute z=¬x+y. Then z*x=¬z+x=¬(¬x+y)+x. De Morgan gives¬(¬x+y)=x¬y. Finally x¬y+x=x by absorption. Thus B. A truth-table check gives 0 for x=0 and 1 for x=1 regardless of y. The custom star is not ordinary multiplication, so the definition must be substituted before simplifying.

Original paper, page 2

3 marks · Descriptive
Report issue

Minimal SOP of a five-factor function

Logic Minimization & Karnaugh Maps

Question 71(a), GATE 1997: f=(¬w+y)(¬x+y)(w+¬x+z)(¬w+z)(¬x+z), where + is Boolean OR, juxtaposition is AND, and ¬ is complement. Express f in minimal sum-of-products form. The source requests only the answer; the derivation is included for learning.
Question 71(a), GATE 1997: f=(¬w+y)(¬x+y)(w+¬x+z)(¬w+z)(¬x+z), where + is Boolean OR, juxtaposition is AND, and ¬ is complement. Express f in minimal sum-of-products form. The source requests only the answer; the derivation is included for learning.
Tap to enlarge
Answer & solution

Answer: f=¬w¬x+yz. (no official key was published)

Group the two factors sharing ¬w and the two sharing ¬x. The Boolean identity (a+b)(a+c)=a+bc gives
(¬w+y)(¬w+z)=¬w+yz,
(¬x+y)(¬x+z)=¬x+yz.
Applying the same identity with the common term yz gives (¬w+yz)(¬x+yz)=¬w¬x+yz. The original function is therefore (¬w¬x+yz)(w+¬x+z).

The remaining factor is redundant. Whenever ¬w¬x=1, its term ¬x makes w+¬x+z true. Whenever yz=1, its term z makes that factor true. Thus multiplying by it changes neither product term and f=¬w¬x+yz.

To justify minimality, not just equivalence, consider the true input 0000 in variable order wxyz. Any implicant covering it must require w=0 and x=0: changing w alone gives 1000, which is false, and changing x alone gives 0100, which is false. Its largest covering cube is therefore ¬w¬x. At 1111, changing y alone or z alone makes f false, so an implicant covering that point must require y=z=1. Its largest covering cube is yz. A single product cannot cover both 0000 and 1111 without allowing false inputs, since they disagree on every variable. Hence at least two terms and at least four literals are needed. The expression above uses exactly two two-literal terms and is minimal.

As a separate finite check, its 1-minterms are 0,1,2,3,7,11,15. Evaluating all 16 assignments agrees with the visually read five-factor source formula.

Original paper, page 10