A NAND gate (NOT-AND gate) is a fundamental digital logic gate that inverts the output of an AND gate. It is widely used in digital circuits due to its universality, meaning all other logic gates can be built using only NAND gates. The truth table for a NAND gate is presented below:
Step 1: Examine the provided inputs.
| Input A | Input B | Output Y (NAND) |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
When both inputs \( A \) and \( B \) are HIGH (\( 1 \)):
\[ Y = \text{NOT} (A \cdot B). \]
In this scenario, \( A \cdot B = 1 \cdot 1 = 1 \), as the AND operation results in 1 only when both inputs are 1.
Step 2: Apply the NOT operation.
Subsequently, the result of the AND operation is negated:
\[ Y = \text{NOT}(1) = 0. \]
Conclusion:
Consequently, the NAND gate's output is LOW (\( 0 \)) when both inputs are HIGH. Therefore, the correct selection is \( \mathbf{(2)} \).
Assuming in forward bias condition there is a voltage drop of \(0.7\) V across a silicon diode, the current through diode \(D_1\) in the circuit shown is ________ mA. (Assume all diodes in the given circuit are identical) 

