For the given logic circuit, which of the following inputs combination will make both LED-1 and LED-2 to glow?
- Option A: , ,
- Option B: , ,
- Option C: , ,
- Option D: , ,
Solution
Core idea. Write the expression at each output and simplify it before testing the options.
Concept refresher. An OR gate gives (high if any input is high); an AND gate gives (high only if all inputs are high). A useful absorption law is
An LED joined from a gate output through a resistor to ground glows when that output is high.
Picture the situation. Following the wires, the OR gate's output feeds LED-1 and the middle AND gate, and the last AND gate combines that result with .
Approach. Write the Boolean expression at each LED, simplify the second one, and test the options.
Step 1: Output for LED-1
The OR gate takes and , and its output drives LED-1 directly:
Step 2: Output for LED-2
The middle AND gate takes the OR output and , and the last AND gate takes that result and :
using .
Step 3: Condition for both LEDs
LED-2 needs and ; then as well, whatever is. Among the options only , , meets this.
Answer. (C) , ,
Sanity check. Tracing (C) through the figure: the OR gate gives , the middle AND gate gets and and gives , and the last AND gate gets and and gives , so both LEDs light.
Why the other options are wrong
- (A) With the last AND gate gets a low input, so and LED-2 stays dark, although LED-1 glows from .
- (B) With the first AND gate gives , so ; LED-1 glows from but LED-2 does not.
- (D) With the first AND gate outputs whatever and are, so and LED-2 stays dark.
Key takeaway
The trap. Ignoring the branch of that runs to the last AND gate, or missing that gates the middle AND gate.
How toppers think. They spot that the hardest LED to light fixes the inputs, then check the easier one.
Remember. and , the absorption laws.
More on Semiconductors
- The output Y for the given inputs A and B to the circuit is:
- The maximum rated power of the LED is 2 mW and it is used in the circuit with input voltage of 5 V as shown…
- Refer to the logic circuit given below. For two inputs (A = 1, B = 1) and (A = 0, B = 1), output (Y) will be…
- All 145 on Semiconductors ›