Skip to content
Official PYQ · 2017

GATE CS 2017 Set 1 Q21 — Minimization (K-Maps etc.)

Explain with AI

Consider the Karnaugh map given below, where XX represents "don't care" and blank represents 00.

Assume for all inputs (a,b,c,d)\left ( a,b,c,d \right ), the respective complements (aˉ,bˉ,cˉ,dˉ)\left ( \bar{a}, \bar{b}, \bar{c}, \bar{d} \right ) are also available. The above logic is implemented using 22-input NOR\text{NOR} gates only. The minimum number of gates required is ____________ .

View worked solution

Answer: 1

From the given Karnaugh map, we can identify the minterms and don't-care conditions (with abab representing the rows and cdcd representing the columns):

  • Minterms (1s): m0(0000)m_0 (0000), m2(0010)m_2 (0010)
  • Don't cares (X): m1(0001)m_1 (0001), m3(0011)m_3 (0011), m4(0100)m_4 (0100), m5(0101)m_5 (0101), m6(0110)m_6 (0110), m7(0111)m_7 (0111)
  • Maxterms (0s): All other cells

To find the minimized expression, we group the 1s and don't-cares into a quad of size 4 using the cells {m0,m2,m4,m6}\{m_0, m_2, m_4, m_6\}:

f(a,b,c,d)=aˉdˉf(a, b, c, d) = \bar{a}\bar{d}

Using De Morgan's Law, this expression can be rewritten as:

f=a+d‾f = \overline{a + d}

Since the complements of all inputs are freely available, we can implement this function using a single 22-input NOR\text{NOR} gate with inputs aa and dd.

Thus, the minimum number of gates required is 1.

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

Published
Report a correction
Keep exploringMore Minimization (K-Maps etc.) questions