← 2014 Paper 2

UPSC 2014 Maths Optional Paper 2 Q5d — Step-by-Step Solution

10 marks · Section B

Logic gates and truth tables · Numerical Analysis · asked 2× in 13 yrs · Read the full method →

Question

Use only AND and OR logic gates to construct a logic circuit for the Boolean expression z=xy+uvz=xy+uv.

Technique

Direct realisation of sum-of-products Boolean expression using AND gates for product terms and OR gate for the sum.

Solution

The expression z=xy+uvz=xy+uv is the OR of two AND products. It requires:

Circuit diagram

   x ----+
         |---[AND]----+
   y ----+            |
                      +---[OR]---- z
   u ----+            |
         |---[AND]----+
   v ----+

ASCII rendering:

Total gate count: 2 AND gates + 1 OR gate = 3 gates.

Truth table verification

xxyyuuvvxyxyuvuvz=xy+uvz=xy+uv
00000000000000
00001111001111
11110000110011
11111111111111
00110011000000

(All 16 rows of the 4-variable truth table can be checked; z=1z=1 iff either pair is 1111.)

Answer

  z=xy+uv is realised by 2 AND gates feeding into 1 OR gate.  \boxed{\;z=xy+uv\text{ is realised by 2 AND gates feeding into 1 OR gate.}\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.