Physics (JEE/NEET)Very hardJEE Main · JEE Advanced
What is the minimum number of 2-input NAND gates needed to build the 3-input majority function (output 1 when at least two inputs are 1)?
- A. 6
- B. 4
- C. 5
- D. 7
Correct answer: A. 6
The sum-of-products AB + BC + CA through NANDs needs three NANDs for the products, then a 3-input NAND to OR them, which expands to extra 2-input gates. An exhaustive search over all 2-input NAND networks shows 6 is the minimum.
More Semiconductor Electronics questions
- The function Y = C + AB must be built with 2-input NAND gates only, with A, B, C available only in true form. The minimum number of gates…
- Consider the circuit Y = [(A NOR B) NAND (B XOR C)] XOR (A AND C). Of the eight input combinations (A, B, C), the number for which Y = 1 is
- Four 2-input NOR gates are wired as G₁ = A NOR B, G₂ = A NOR G₁, G₃ = B NOR G₁ and Y = G₂ NOR G₃. The circuit realises
- The Boolean function F = (A + B′)(A′ + C)(B + C′) is equal to
- A diode OR gate uses two silicon diodes (0.70 V drop when conducting) with their anodes at inputs A and B and their cathodes joined at the…
- Which statements about doped semiconductors are correct? I. In an n-type semiconductor the Fermi level lies above mid-gap, closer to the…