GATE / CS ARCHIVE

SIMILAR QUESTIONS / DIGITAL LOGIC

Solve simultaneous Boolean equations

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

How these are solved

Use equations equal to zero/one to force literals and eliminate Boolean assignments, then test remaining assignments against every equation.

2 marks · MCQ
Report issue

Solving simultaneous Boolean constraints

Boolean Algebra & Logic Gates

Question 2.10, GATE 2000: Find a listed solution(x,y,z,w) to x+y+z=1,xy=0,xz+w=1,xy+z′w′=0. Choices0100,1101,1011,1000; + means OR.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

Step 1: xy=0 immediately rejects 1101. For 0100, xz+w=0, so it fails the third equation. The same third equation rejects 1000.

Step 2: For 1011, x+y+z=1,xy=0,xz+w=1, and xy+z′w′=0+0·0=0. It satisfies all four.

Thus C is the listed solution. The equations can have other solutions not listed, so this checks the requested candidate rather than asserting a unique solution over all sixteen assignments.

Original paper, page 4

Descriptive
Report issue

Boolean simultaneous equations

Boolean Algebra & Logic Gates

Question 4(b), GATE 1994: Solve AB+A̅C=1 and AC+B=0 for Boolean A,B,C.
Tap to enlarge
Answer & solution

Answer: A=0, B=0, C=1 (no official key was published)

1. An OR is zero only if both terms are zero, so B=0 and AC=0.

2. The first equation becomes A̅C=1. Both factors must be one: A=0 and C=1.

3. This assignment also satisfies AC=0, proving existence and uniqueness.

Original paper, page 4