
Problem:
In the given circuit, the LED will glow for the input \( A, B, C, D \) (where 0 is low potential and 1 is high potential). We need to find the output that makes the LED glow. The circuit consists of AND and OR gates, with the LED glowing based on the logic of inputs.
Step 1: Understand the circuit:
The circuit has: - An AND gate with inputs \( A \) and \( B \) producing output \( P \). - Another AND gate with inputs \( C \) and \( D \) producing output \( Q \). - An OR gate then combines \( P \) and \( Q \), controlling the LED.
Step 2: Apply the logic gate function:
The LED will glow when the OR gate output is high, i.e.,: \[ P \text{ OR } Q = 1 \] Where: \[ P = A \cdot B, \quad Q = C \cdot D \] So: \[ (A \cdot B) \text{ OR } (C \cdot D) = 1 \]
Step 3: Determine the inputs for the LED to glow: The LED will glow when either: - \( A = 1 \) and \( B = 1 \), or - \( C = 1 \) and \( D = 1 \).
Step 4: Evaluate the options: Based on the above condition, we check the input combinations. For the option \( 0010 \): - \( A = 0, B = 0 \), hence \( P = 0 \) - \( C = 1, D = 0 \), hence \( Q = 0 \) Therefore, the LED will glow for input combination \( 0010 \).
Conclusion: The correct input combination is \( 0010 \), and hence the LED will glow for this input.
Which logic gate is represented by the following combinations of logic gates?


