Physics (JEE/NEET)HardJEE Main · JEE Advanced

Y = [(A NAND B) NAND (C NAND D)]. Out of the 16 combinations of the four inputs, Y = 1 for how many?

  1. A. 7
  2. B. 9
  3. C. 6
  4. D. 8

Correct answer: A. 7

By De Morgan, (X′ · Z′)′ = X + Z with X = AB and Z = CD, so Y = AB + CD. AB = 1 in 4 of 16 cases, CD = 1 in 4, both in 1, so Y = 1 in 4 + 4 − 1 = 7 cases.

More Semiconductor Electronics questions

Exams that ask this topic