E7A07 (D) What logical operation does a NAND gate perform? A. It produces a 0 at its output only if all inputs are 0 B. It produces a 1 at its output only if all inputs are 1 C. It produces a 0 at its output if some but not all inputs are 1 D. It produces a 0 at its output only if all inputs are 1