Sigma Percentile
LEVELJEE Main

Animated Solution for Physics - Semiconductors: Truth table for system of four NAND gates as shown in figure is

Select Answer:

Visualized Solution

The Sigma Insight: Logic Gates

Solution Diagram

The Power of Universal Gates

Imagine you are stranded on a desert island, and you need to build a computer. You don't have AND gates, OR gates, or XOR gates. All you have is a box of NAND gates. Could you do it? Yes! The NAND gate is a universal gate, meaning you can construct any logical operation in the universe using just this one component.

Analyzing the Setup

In this problem, we are given a beautiful, symmetric arrangement of four NAND gates. Our goal is to find the final truth table. While we could plug in 0s and 1s and trace them through, let's flex our Boolean algebra muscles and find the general expression.

The Master Equation

Let's label the intermediate outputs. The first gate simply takes and , giving us .
The second gate takes and , so its output is .
The third gate takes and , giving .
Finally, the last gate combines and , resulting in our master equation:

Taming the Monster with De-Morgan

I know this expression looks terrifying, but let's take a breath. We have a powerful weapon: De-Morgan's Law, which states that .
Applying this to the outermost bar, the double negations cancel out like magic:
Now, we apply De-Morgan's law again to the inner term:

The Final Calculation

Let's distribute the terms. Remember, in Boolean algebra, a variable ANDed with its complement is always zero (). It's like saying 'I am both inside and outside the room at the same time'—impossible!
This elegant final expression is the exact definition of an XOR (Exclusive OR) gate. It fires a 1 only when the inputs are different. Looking at our options, the truth table that perfectly matches this behavior is option (a).

Similar Questions

JEE Main 2021
LEVELJEE Main

Four NOR gates are connected as shown in figure. The truth table for the given figure is

(A)
(B)
(C)
(D)
JEE Main 2021
LEVELJEE Main

The truth table for the following logic circuit is

(A)
(B)
(C)
(D)
JEE Main 2019
LEVELJEE Main

The truth table for the circuit given in the figure is

(A)
(B)
(C)
(D)
JEE Main 2021
LEVELJEE Main

Find the truth table for the function of and represented in the following figure.

(A)
(B)
(C)
(D)
LEVELJEE Main

In the adjacent circuit, and represent two inputs and represents the output. The circuit represents

(A)
NOR gate
(B)
AND gate
(C)
NAND gate
(D)
OR gate
JEE Main 2019
LEVELJEE Advanced

The output of the given logic circuit is

(A)
(B)
(C)
(D)
JEE Main 2021
LEVELJEE Main

The output of the given combination gates represents

(A)
XOR gate
(B)
NAND gate
(C)
AND gate
(D)
NOR gate
JEE Main 2020
LEVELJEE Main

Identify the correct output signal in the given combination of gates (as shown) for the given inputs and .

(A)
(B)
(C)
(D)
JEE Main 2021
LEVELJEE Main

If and are the input voltages (either 5V or 0V) and is the output voltage then the two gates represented in the following circuit (A) and (B) are

(A)
AND and OR gate
(B)
OR and NOT gate
(C)
NAND and NOR gate
(D)
AND and NOT gate
JEE Main 2016
LEVELJEE Main

If a, b, c and d are inputs to a gate and x is its output, then, as per the following time graph, the gate is

(A)
NOT
(B)
AND
(C)
OR
(D)
NAND