Physics (JEE/NEET)HardJEE Advanced · JEE Main
What is the minimum number of 2-input NAND gates needed to build a half adder (producing both the SUM = A ⊕ B and the CARRY = A·B outputs from the inputs A and B, with no other gate types)?
- A. 4
- B. 5
- C. 6
- D. 7
Correct answer: B. 5
XOR needs four NAND gates: N₁ = NAND(A,B), N₂ = NAND(A,N₁), N₃ = NAND(B,N₁), SUM = NAND(N₂,N₃). The carry A·B is the complement of N₁, obtained with one more NAND used as an inverter (NAND(N₁,N₁)). Total 5; the shared N₁ saves two gates compared with building XOR and AND separately.
More Semiconductor Electronics questions
- A silicon photodiode with an internal quantum efficiency of 0.60 (each photon absorbed has a 60% chance of yielding one collected…
- A solar cell of area 4.0 cm² under illumination of 100 mW/cm² has an open-circuit voltage of 0.60 V, a short-circuit current of 30 mA and…
- For an unfiltered rectifier with a resistive load, the ripple factor is r = √((Vrms/Vdc)² − 1). The ratio of the ripple factor of a…
- An amplifier has an open-loop gain of 100 and a fraction 0.04 of its output is fed back in negative feedback. Due to ageing, the open-loop…
- A silicon crystal (ni = 1.5×10¹⁶ m⁻³) is doped with 5.0×10²² m⁻³ donor atoms and 3.0×10²² m⁻³ acceptor atoms, all ionised at room…
- Light sources of wavelength 850 nm, 1310 nm and 1550 nm are to be detected by simple photodiodes made of silicon (band gap 1.12 eV) and…