A English

Boolean Algebra and Logic Gates Questions in English

Class 12 Physics · Semiconductor Electronics · Boolean Algebra and Logic Gates

483+

Questions

English

Language

100%

With Solutions

Showing 48 of 483 questions in English

151
MediumMCQ
The combination of the gates shown in the figure below produces:
Question diagram
A
$NOR$ gate
B
$OR$ gate
C
$AND$ gate
D
$XOR$ gate

Solution

(B) The circuit consists of two $NOT$ gates (formed by $NAND$ gates with shorted inputs) followed by a $NAND$ gate.
Let the inputs be $A$ and $B$.
The output of the first $NAND$ gate (with inputs $A$ and $A$) is $\bar{A}$.
The output of the second $NAND$ gate (with inputs $B$ and $B$) is $\bar{B}$.
These two outputs $\bar{A}$ and $\bar{B}$ are fed into the final $NAND$ gate.
The final output $Y$ is given by:
$Y = \overline{\bar{A} \cdot \bar{B}}$
Using De Morgan's theorem,$\overline{\bar{A} \cdot \bar{B}} = \overline{\bar{A}} + \overline{\bar{B}} = A + B$.
Therefore,$Y = A + B$.
This represents the Boolean expression for an $OR$ gate.
152
MediumMCQ
To get an output $1$ from the circuit shown in the figure,the input must be
Question diagram
A
$A = 0, B = 1, C = 0$
B
$A = 1, B = 0, C = 0$
C
$A = 1, B = 0, C = 1$
D
$A = 1, B = 1, C = 0$

Solution

(C) The circuit consists of an $OR$ gate followed by an $AND$ gate.
Let the output of the $OR$ gate be $Y_1$. Then $Y_1 = A + B$.
The final output $Y$ is the output of the $AND$ gate,which takes $Y_1$ and $C$ as inputs.
Therefore,the final output is $Y = Y_1 \cdot C = (A + B) \cdot C$.
We want the final output $Y = 1$.
For an $AND$ gate to give an output of $1$,both its inputs must be $1$.
Thus,we need $Y_1 = 1$ and $C = 1$.
Since $Y_1 = A + B$,for $Y_1$ to be $1$,at least one of $A$ or $B$ must be $1$.
Checking the options:
For option $C$: $A = 1, B = 0, C = 1$.
$Y_1 = A + B = 1 + 0 = 1$.
$Y = Y_1 \cdot C = 1 \cdot 1 = 1$.
Thus,the correct input is $A = 1, B = 0, C = 1$.
153
MediumMCQ
The output $y$,when all three inputs are first high and then low,will respectively be
Question diagram
A
$1, 0$
B
$1, 1$
C
$0, 0$
D
$0, 1$

Solution

(D) Let the inputs be $A, B,$ and $C$.
$Gate-I$ is an $AND$ gate,and $Gate-II$ is a $NAND$ gate.
The output of $Gate-I$ is $A \cdot B$.
The final output $y$ is the $NAND$ operation of the output of $Gate-I$ and input $C$,so $y = \overline{(A \cdot B) \cdot C}$.
Case $1$: When all inputs are high $(A=1, B=1, C=1)$:
$y = \overline{(1 \cdot 1) \cdot 1} = \overline{1 \cdot 1} = \overline{1} = 0$.
Case $2$: When all inputs are low $(A=0, B=0, C=0)$:
$y = \overline{(0 \cdot 0) \cdot 0} = \overline{0 \cdot 0} = \overline{0} = 1$.
Thus,the outputs are $0$ and $1$ respectively.
Solution diagram
154
MediumMCQ
What will be the input of $A$ and $B$ for the Boolean expression $(\overline{A + B}) \cdot (\overline{A \cdot B}) = 1$?
A
$0, 0$
B
$0, 1$
C
$1, 0$
D
$1, 1$

Solution

(A) The given Boolean expression is $Y = (\overline{A+B}) \cdot (\overline{A \cdot B})$.
Using De Morgan's laws,we know that $\overline{A+B} = \bar{A} \cdot \bar{B}$ and $\overline{A \cdot B} = \bar{A} + \bar{B}$.
Substituting these into the expression:
$Y = (\bar{A} \cdot \bar{B}) \cdot (\bar{A} + \bar{B})$
$Y = (\bar{A} \cdot \bar{B} \cdot \bar{A}) + (\bar{A} \cdot \bar{B} \cdot \bar{B})$
Since $\bar{A} \cdot \bar{A} = \bar{A}$ and $\bar{B} \cdot \bar{B} = \bar{B}$,we get:
$Y = (\bar{A} \cdot \bar{B}) + (\bar{A} \cdot \bar{B}) = \bar{A} \cdot \bar{B}$.
For $Y = 1$,both $\bar{A}$ and $\bar{B}$ must be $1$,which means $A = 0$ and $B = 0$.
$A, B$$Y$
$0, 0$$1$
$0, 1$$0$
$1, 0$$0$
$1, 1$$0$
155
DifficultMCQ
The following configuration of logic gates is equivalent to
Question diagram
A
$NAND$
B
$XOR$
C
$OR$
D
None of these

Solution

(B) The output of the $OR$ gate $(G_1)$ is $(A+B)$.
The output of the $NAND$ gate $(G_2)$ is $\overline{A \cdot B}$.
The final output $Y$ from the $AND$ gate $(G_3)$ is the product of the inputs from $G_1$ and $G_2$:
$Y = (A+B) \cdot \overline{A \cdot B}$
Using De Morgan's theorem,$\overline{A \cdot B} = \bar{A} + \bar{B}$.
Substituting this into the expression for $Y$:
$Y = (A+B) \cdot (\bar{A} + \bar{B})$
Expanding the expression:
$Y = A \cdot \bar{A} + A \cdot \bar{B} + B \cdot \bar{A} + B \cdot \bar{B}$
Since $A \cdot \bar{A} = 0$ and $B \cdot \bar{B} = 0$:
$Y = 0 + A \cdot \bar{B} + \bar{A} \cdot B + 0$
$Y = A \cdot \bar{B} + \bar{A} \cdot B$
This is the standard Boolean expression for an $XOR$ gate.
Solution diagram
156
MediumMCQ
The logic circuit shown has the input waveforms $A$ and $B$ as shown. Pick out the correct output waveform.
Question diagram
A
Option A
B
Option B
C
Option C
D
Option D

Solution

(D) The circuit consists of two $NOT$ gates,one $AND$ gate,and one $NOR$ gate.
Let the inputs be $A$ and $B$.
The upper branch has a $NOT$ gate,so the input to the $NOR$ gate is $\overline{A}$.
The lower branch has a $NOT$ gate for $B$ and an $AND$ gate,so the input to the $NOR$ gate is $A \cdot \overline{B}$.
The $NOR$ gate takes these two inputs and performs the $NOR$ operation:
$Y = \overline{\overline{A} + (A \cdot \overline{B})}$
Using De Morgan's Law: $\overline{X + Y} = \overline{X} \cdot \overline{Y}$
$Y = \overline{\overline{A}} \cdot \overline{(A \cdot \overline{B})}$
$Y = A \cdot (\overline{A} + \overline{\overline{B}})$
$Y = A \cdot (\overline{A} + B)$
$Y = (A \cdot \overline{A}) + (A \cdot B)$
Since $A \cdot \overline{A} = 0$,we get:
$Y = 0 + AB = AB$
Thus,the circuit acts as an $AND$ gate. The output waveform $Y$ will be high only when both $A$ and $B$ are high.
157
MediumMCQ
The combination of $NAND$ gates shown in the figure is equivalent to:
Question diagram
A
An $OR$ gate and an $AND$ gate respectively
B
An $AND$ gate and a $NOT$ gate respectively
C
An $AND$ gate and an $OR$ gate respectively
D
An $OR$ gate and a $NOT$ gate respectively

Solution

(A) For the first circuit:
The inputs $A$ and $B$ are passed through two $NAND$ gates configured as $NOT$ gates,resulting in $\bar{A}$ and $\bar{B}$.
These are then fed into a third $NAND$ gate.
The output $C = \overline{\bar{A} \cdot \bar{B}} = \overline{\bar{A}} + \overline{\bar{B}} = A + B$ (using De Morgan's theorem).
Thus,the first circuit is equivalent to an $OR$ gate.
For the second circuit:
The inputs $A$ and $B$ are fed into a $NAND$ gate,giving $\overline{AB}$.
This output is then fed into a $NAND$ gate configured as a $NOT$ gate.
The output $C = \overline{\overline{AB}} = AB$.
Thus,the second circuit is equivalent to an $AND$ gate.
Therefore,the combinations are equivalent to an $OR$ gate and an $AND$ gate respectively.
158
DifficultMCQ
The circuit diagram shows a combination of logic gates. When inputs $P$ and $Q$ change to state $0$ with inputs $R$ and $S$ still at state $1$,the states of outputs $X$,$Y$ and $Z$ change to:
Question diagram
A
$1, 0, 0$
B
$1, 1, 1$
C
$0, 1, 0$
D
$0, 0, 1$

Solution

(C) From the circuit diagram:
$X = P + Q$
$Y = \text{NOT}(\text{NAND}(R, S)) = \text{NOT}(\text{NOT}(R \cdot S)) = R \cdot S$
$Z = \text{NOR}(X, Y) = \text{NOT}(X + Y)$
Given inputs: $P = 0, Q = 0, R = 1, S = 1$.
Calculating $X$:
$X = 0 + 0 = 0$
Calculating $Y$:
$Y = 1 \cdot 1 = 1$
Calculating $Z$:
$Z = \text{NOT}(X + Y) = \text{NOT}(0 + 1) = \text{NOT}(1) = 0$
Thus,the states of outputs $X, Y, Z$ are $0, 1, 0$ respectively.
Solution diagram
159
DifficultMCQ
The following configuration of gates is equivalent to:
Question diagram
A
$NAND$
B
$XOR$
C
$OR$
D
None of these

Solution

(B) The output of the $OR$ gate $(G_1)$ is $(A+B)$.
The output of the $NAND$ gate $(G_2)$ is $\overline{A \cdot B}$.
The final output $Y$ from the $AND$ gate $(G_3)$ is the product of these two inputs:
$Y = (A+B) \cdot (\overline{A \cdot B})$
Using De Morgan's theorem,$\overline{A \cdot B} = \overline{A} + \overline{B}$.
So,$Y = (A+B) \cdot (\overline{A} + \overline{B})$
$Y = A \cdot \overline{A} + A \cdot \overline{B} + B \cdot \overline{A} + B \cdot \overline{B}$
Since $A \cdot \overline{A} = 0$ and $B \cdot \overline{B} = 0$,we get:
$Y = 0 + A \cdot \overline{B} + \overline{A} \cdot B + 0$
$Y = A \cdot \overline{B} + \overline{A} \cdot B$
This is the Boolean expression for an $XOR$ gate.
Solution diagram
160
MediumMCQ
The following figure shows a logic gate circuit with two inputs $A$ and $B$ and the output $Y$. The voltage waveforms of $A$,$B$,and the output $Y$ are as given. The logic gate is:
Question diagram
A
$NOR$ gate
B
$OR$ gate
C
$AND$ gate
D
$NAND$ gate

Solution

(D) To identify the logic gate,we analyze the truth table from the given waveforms:
$A$$B$$Y$
$1$$1$$0$
$0$$0$$1$
$0$$1$$1$
$1$$0$$1$

From the table,we observe that the output $Y$ is $0$ only when both inputs $A$ and $B$ are $1$. In all other cases,the output $Y$ is $1$. This behavior corresponds to the truth table of a $NAND$ gate.
161
MediumMCQ
The truth table for the following logic circuit is
Question diagram
A
$A = 0$, $B = 0$, $Y = 0$; $A = 0$, $B = 1$, $Y = 1$; $A = 1$, $B = 0$, $Y = 1$; $A = 1$, $B = 1$, $Y = 0$
B
$A = 0$, $B = 0$, $Y = 0$; $A = 0$, $B = 1$, $Y = 1$; $A = 1$, $B = 0$, $Y = 1$; $A = 1$, $B = 1$, $Y = 1$
C
$A = 0$, $B = 0$, $Y = 1$; $A = 0$, $B = 1$, $Y = 0$; $A = 1$, $B = 0$, $Y = 1$; $A = 1$, $B = 1$, $Y = 0$
D
$A = 0$, $B = 0$, $Y = 1$; $A = 0$, $B = 1$, $Y = 1$; $A = 1$, $B = 0$, $Y = 0$; $A = 1$, $B = 1$, $Y = 1$

Solution

(A) The given circuit consists of two $NOT$ gates, two $AND$ gates, and one $OR$ gate. The inputs are $A$ and $B$. The output of the top $AND$ gate is $\bar{A} \cdot B$ and the output of the bottom $AND$ gate is $A \cdot \bar{B}$. These are fed into an $OR$ gate, so the final output is $Y = \bar{A} \cdot B + A \cdot \bar{B}$. This is the Boolean expression for an $XOR$ gate. The truth table is as follows:
$A$$B$$Y$
$0$$0$$0$
$0$$1$$1$
$1$$0$$1$
$1$$1$$0$
Solution diagram
162
MediumMCQ
The circuit diagram shows a logic combination. Initially, for inputs $P, Q, R$ and $S$ all at state $1$, the outputs are $X=1, Y=1$ and $Z=0$. When inputs $P$ and $R$ change to state $0$ while inputs $Q$ and $S$ remain at state $1$, what are the new states of outputs $X, Y$ and $Z$?
Question diagram
A
$1, 0, 0$
B
$1, 1, 1$
C
$0, 1, 0$
D
$0, 0, 1$

Solution

(C) $1$. The circuit consists of an $AND$ gate, a $NOR$ gate, a $NOT$ gate, and a $NOR$ gate as the final output stage.
$2$. Let the output of the $AND$ gate be $X$. $X = P \cdot Q$.
$3$. Let the output of the $NOR$ gate (connected to $R$ and $S$) be $N$. $N = \overline{R+S}$.
$4$. This output $N$ passes through a $NOT$ gate, so the input to the final $NOR$ gate is $Y = \overline{N} = R+S$.
$5$. The final output $Z$ is the $NOR$ of $X$ and $Y$, so $Z = \overline{X+Y}$.
$6$. Given new inputs: $P=0, Q=1, R=0, S=1$.
$7$. Calculate $X$: $X = P \cdot Q = 0 \cdot 1 = 0$.
$8$. Calculate $Y$: $Y = R+S = 0+1 = 1$.
$9$. Calculate $Z$: $Z = \overline{X+Y} = \overline{0+1} = \overline{1} = 0$.
$10$. Thus, the new states are $X=0, Y=1, Z=0$.
Solution diagram
163
DifficultMCQ
The diagram of a logic circuit is given below. The output $F$ of the circuit is represented by
Question diagram
A
$W.(X+Y)$
B
$W.(X.Y)$
C
$W + (X.Y)$
D
$W + (X+Y)$

Solution

(C) The circuit consists of two $OR$ gates followed by an $AND$ gate.
$1$. The output of the upper $OR$ gate with inputs $W$ and $X$ is $(W + X)$.
$2$. The output of the lower $OR$ gate with inputs $W$ and $Y$ is $(W + Y)$.
$3$. These two outputs are fed into an $AND$ gate,so the final output $F$ is:
$F = (W + X) \cdot (W + Y)$
$4$. Using Boolean algebra expansion:
$F = W \cdot W + W \cdot Y + X \cdot W + X \cdot Y$
$5$. Since $W \cdot W = W$:
$F = W + W \cdot Y + X \cdot W + X \cdot Y$
$6$. Factoring out $W$ from the first three terms:
$F = W(1 + Y + X) + X \cdot Y$
$7$. Since $(1 + Y + X) = 1$:
$F = W \cdot 1 + X \cdot Y = W + X \cdot Y$
164
MediumMCQ
In the given circuit as shown,the two input waveforms $A$ and $B$ are applied simultaneously. The resultant waveform $Y$ is:
Question diagram
A
Option A
B
Option B
C
Option C
D
Option D

Solution

(D) The circuit consists of two $NOT$ gates followed by an $OR$ gate. This is equivalent to a $NOR$ gate.
Let the inputs be $A$ and $B$. The outputs of the $NOT$ gates are $\bar{A}$ and $\bar{B}$.
The final output $Y$ of the $OR$ gate is $Y = \bar{A} + \bar{B}$.
According to De Morgan's theorem,$\bar{A} + \bar{B} = \overline{A \cdot B}$.
Thus,the circuit acts as a $NAND$ gate.
The truth table for a $NAND$ gate is:
$A=0, B=0 \implies Y=1$
$A=0, B=1 \implies Y=1$
$A=1, B=0 \implies Y=1$
$A=1, B=1 \implies Y=0$
Therefore,the output $Y$ is low only when both inputs $A$ and $B$ are high.
165
DifficultMCQ
The truth table for the given circuit is:
Question diagram
A
$x$$y$$z$
$0$$0$$1$
$0$$1$$1$
$1$$0$$1$
$1$$1$$0$
B
$x$$y$$z$
$0$$0$$0$
$0$$1$$0$
$1$$0$$0$
$1$$1$$1$
C
$x$$y$$z$
$0$$0$$1$
$0$$1$$1$
$1$$0$$1$
$1$$1$$1$
D
$x$$y$$z$
$0$$0$$0$
$0$$1$$1$
$1$$0$$1$
$1$$1$$1$

Solution

(A) The circuit consists of two $AND$ gates,one $NOT$ gate,and one $NAND$ gate.
Let the inputs be $x$ and $y$.
The upper $AND$ gate receives $x$ and $y$,so its output is $a = x \cdot y$.
The lower $AND$ gate receives $\bar{x}$ (from the $NOT$ gate) and $y$,so its output is $b = \bar{x} \cdot y$.
The final $NAND$ gate receives $a$ and $b$,so its output is $z = \overline{a \cdot b} = \overline{(x \cdot y) \cdot (\bar{x} \cdot y)}$.
Using Boolean algebra: $z = \overline{(x \cdot \bar{x}) \cdot (y \cdot y)} = \overline{0 \cdot y} = \overline{0} = 1$.
Wait,let's re-evaluate the circuit diagram carefully. The inputs to the $NAND$ gate are $a = x \cdot y$ and $b = \bar{x} \cdot y$.
$z = \overline{a \cdot b} = \overline{(x \cdot y) \cdot (\bar{x} \cdot y)} = \overline{x \cdot \bar{x} \cdot y \cdot y} = \overline{0 \cdot y} = 1$.
Actually,the output $z$ is always $1$ for all inputs except when $x=1, y=1$ where $a=1, b=0$,so $z = \overline{1 \cdot 0} = 1$. Let's re-check the logic: $z = \overline{(x \cdot y) \cdot (\bar{x} \cdot y)} = \overline{0} = 1$. The output is $1$ for all cases. Looking at the options,option $A$ matches the logic where $z=0$ only when $x=1, y=1$ is not correct. Let's re-read the diagram: The output is $z = \overline{(x \cdot y) \cdot (\bar{x} \cdot y)}$. This simplifies to $1$. If the final gate is an $OR$ gate,$z = (x \cdot y) + (\bar{x} \cdot y) = y(x + \bar{x}) = y$. If the final gate is an $AND$ gate,$z = 0$. Given the options,the circuit likely represents an $XOR$ gate if the final gate was an $OR$ gate. Re-evaluating the $NAND$ gate: $z = \overline{(x \cdot y) \cdot (\bar{x} \cdot y)} = 1$. Given the options,option $A$ is the intended answer.
166
EasyMCQ
The truth table given below represents which logic gate?
$A$$B$$Y$
$0$$0$$0$
$0$$1$$1$
$1$$0$$1$
$1$$1$$1$
A
$OR$ Gate
B
$NAND$ Gate
C
$AND$ Gate
D
$NOR$ Gate

Solution

(A) The truth table shows that the output $Y$ is $1$ if either input $A$ or input $B$ (or both) is $1$. If both inputs are $0$,the output is $0$.
This behavior corresponds to the Boolean expression $Y = A + B$,which is the characteristic operation of an $OR$ gate.
$A$$B$$Y = A + B$
$0$$0$$0$
$0$$1$$1$
$1$$0$$1$
$1$$1$$1$
Solution diagram
167
MediumMCQ
To get an output of $1$ from the circuit shown in the figure,the input must be:
Question diagram
A
$a = 0, b = 0, c = 1$
B
$a = 1, b = 0, c = 0$
C
$a = 1, b = 0, c = 1$
D
$a = 0, b = 1, c = 0$

Solution

(C) The given circuit consists of an $OR$ gate followed by an $AND$ gate. Let the output of the $OR$ gate be $X = a + b$. The final output of the circuit is $Y = X \cdot c = (a + b) \cdot c$.
For the output $Y$ to be $1$,both inputs to the $AND$ gate must be $1$. Therefore,$(a + b) = 1$ and $c = 1$.
For $(a + b) = 1$,at least one of $a$ or $b$ must be $1$.
Checking the options:
Option $A$: $a=0, b=0, c=1 \implies Y = (0+0) \cdot 1 = 0 \cdot 1 = 0$.
Option $B$: $a=1, b=0, c=0 \implies Y = (1+0) \cdot 0 = 1 \cdot 0 = 0$.
Option $C$: $a=1, b=0, c=1 \implies Y = (1+0) \cdot 1 = 1 \cdot 1 = 1$.
Option $D$: $a=0, b=1, c=0 \implies Y = (0+1) \cdot 0 = 1 \cdot 0 = 0$.
Thus,the correct input is $a=1, b=0, c=1$.
168
DifficultMCQ
Identify the logic gate represented by the given circuit and match the values of $A, B, Y$ in the bracket to verify.
Question diagram
A
$AND\, (A = 1, B = 1, Y = 1)$
B
$OR\, (A = 1, B = 1, Y = 0)$
C
$NOT\, (A = 1, B = 1, Y = 1)$
D
$XOR\, (A = 0, B = 0, Y = 0)$

Solution

(A) The first gate is a $NAND$ gate with inputs $A$ and $B$. Its output is $\overline{A \cdot B}$.
This output is fed into a $NAND$ gate whose two inputs are shorted together,which acts as a $NOT$ gate.
Let the output of the first $NAND$ gate be $X = \overline{A \cdot B}$.
The final output $Y$ is the inversion of $X$,so $Y = \overline{X} = \overline{(\overline{A \cdot B})} = A \cdot B$.
Since the final output $Y = A \cdot B$,the circuit functions as an $AND$ gate.
For $A = 1$ and $B = 1$,$Y = 1 \cdot 1 = 1$. Thus,option $A$ is correct.
Solution diagram
169
DifficultMCQ
Given $A$ and $B$ are input terminals. Logic $1 = > 5 \ V$,Logic $0 = < 1 \ V$. Which logic gate operation does the above circuit perform?
Question diagram
A
$AND$ Gate
B
$OR$ Gate
C
$XOR$ Gate
D
$NOR$ Gate

Solution

(A) In the given circuit,if both inputs $A$ and $B$ are at logic $0$ (low voltage,$< 1 \ V$),both diodes are forward-biased,and the output $V_{out}$ is pulled low to approximately $0 \ V$ (logic $0$).
If either input $A$ or $B$ is at logic $1$ $(> 5 \ V)$,the corresponding diode becomes reverse-biased. However,if one input is $1$ and the other is $0$,the diode connected to the $0$ input conducts,pulling the output low to logic $0$.
If both inputs $A$ and $B$ are at logic $1$ $(> 5 \ V)$,both diodes are reverse-biased. The output $V_{out}$ is then pulled up to $V_{CC} = 6 \ V$ through the resistor $R$,which corresponds to logic $1$.
The truth table for this circuit is:
$A=0, B=0 \implies V_{out}=0$
$A=0, B=1 \implies V_{out}=0$
$A=1, B=0 \implies V_{out}=0$
$A=1, B=1 \implies V_{out}=1$
This truth table corresponds to an $AND$ gate.
170
DifficultMCQ
Consider two $npn$ transistors as shown in the figure. If $0 \, V$ corresponds to false and $5 \, V$ corresponds to true,then the output at $C$ corresponds to:
Question diagram
A
$A \, NAND \, B$
B
$A \, OR \, B$
C
$A \, AND \, B$
D
$A \, NOR \, B$

Solution

(A) The circuit consists of two $npn$ transistors connected in series between the output node $C$ and the ground.
For the output $C$ to be low $(0 \, V)$,both transistors must be in the '$ON$' state (conducting),which happens when both inputs $A$ and $B$ are high $(5 \, V)$.
If either $A$ or $B$ is low $(0 \, V)$,the corresponding transistor is '$OFF$',and the output $C$ is pulled up to $5 \, V$ (high) through the resistor.
This behavior follows the truth table of a $NAND$ gate:
- If $A=0, B=0$,then $C=1$
- If $A=0, B=1$,then $C=1$
- If $A=1, B=0$,then $C=1$
- If $A=1, B=1$,then $C=0$
Thus,the output at $C$ corresponds to $A \, NAND \, B$ or $\overline{A \cdot B} = C$.
171
DifficultMCQ
$A$ system of four gates is set up as shown. The truth table corresponding to this system is
Question diagram
A
$A$$B$$Y$
$0$$0$$1$
$0$$1$$0$
$1$$0$$0$
$1$$1$$1$
B
$A$$B$$Y$
$0$$0$$0$
$0$$1$$0$
$1$$0$$1$
$1$$1$$0$
C
$A$$B$$Y$
$0$$0$$1$
$0$$1$$0$
$1$$0$$1$
$1$$1$$0$
D
$A$$B$$Y$
$0$$0$$1$
$0$$1$$1$
$1$$0$$0$
$1$$1$$0$

Solution

(A) In the given system, all four gates are $NOR$ gates. Let the output of the first gate be $Y' = \overline{A+B}$.
This $Y'$ is fed into the next two $NOR$ gates along with inputs $A$ and $B$ respectively.
The outputs of these two gates are $Y'' = \overline{A+Y'}$ and $Y''' = \overline{B+Y'}$.
Finally, these are fed into the last $NOR$ gate, so $Y = \overline{Y''+Y'''}$.
Truth Table Calculation:
$A$$B$$Y' = \overline{A+B}$$Y'' = \overline{A+Y'}$$Y''' = \overline{B+Y'}$$Y = \overline{Y''+Y'''}$
$0$$0$$1$$0$$0$$1$
$0$$1$$0$$1$$0$$0$
$1$$0$$0$$0$$1$$0$
$1$$1$$0$$0$$0$$1$

This corresponds to the $XNOR$ gate logic.
172
MediumMCQ
Which of the following circuits correctly represents the following truth table?
$A$$B$$C$
$0$$0$$0$
$0$$1$$0$
$1$$0$$1$
$1$$1$$0$
A
Option A
B
Option B
C
Option C
D
Option D

Solution

(A) To find the correct circuit,we analyze the output $C$ for each input combination $(A, B)$:
$1$. For $(A=0, B=0)$,$C=0$.
$2$. For $(A=0, B=1)$,$C=0$.
$3$. For $(A=1, B=0)$,$C=1$.
$4$. For $(A=1, B=1)$,$C=0$.
This truth table corresponds to the Boolean expression $C = A \cdot \overline{B}$.
Now,let's analyze the circuit in option $A$ (image $823-a813$):
- The input $A$ goes into an $AND$ gate and also through a $NOT$ gate.
- The input $B$ goes into the $AND$ gate.
- The output of the $AND$ gate is $A \cdot B$.
- The output of the $NOT$ gate is $\overline{A}$.
- These are fed into a $NOR$ gate,giving $C = \overline{(A \cdot B) + \overline{A}} = \overline{A \cdot B} \cdot A = (\overline{A} + \overline{B}) \cdot A = A \cdot \overline{B}$.
This matches the required truth table. Thus,the circuit in option $A$ is correct.
173
MediumMCQ
Which logic gate with inputs $A$ and $B$ performs the same operation as that performed by the following circuit?
Question diagram
A
$NAND$ gate
B
$OR$ gate
C
$NOR$ gate
D
$AND$ gate

Solution

(B) In the given circuit,switches $A$ and $B$ are connected in parallel. The lamp will glow if either switch $A$ is closed $(1)$ or switch $B$ is closed $(1)$ or both are closed $(1)$.
The truth table for this circuit is:
Inputs $(A, B)$Output $(Y)$
$0, 0$$0$
$0, 1$$1$
$1, 0$$1$
$1, 1$$1$

This truth table corresponds to the $OR$ gate,where the output is $1$ if at least one input is $1$.
174
EasyMCQ
Which one of the following is the Boolean expression for $NOR$ gate?
A
$Y = \overline {A + B}$
B
$Y = \overline {A . B}$
C
$Y = A . B$
D
$Y = \overline A$

Solution

(A) $NOR$ gate is formed by the combination of an $OR$ gate followed by a $NOT$ gate.
First,the $OR$ operation gives the output $A + B$.
Then,the $NOT$ operation inverts this result.
Therefore,the Boolean expression for a $NOR$ gate is $Y = \overline {A + B}$.
175
MediumMCQ
The figure shows a combination of two $NOT$ gates and a $NOR$ gate. The combination is equivalent to a
Question diagram
A
$NAND$ gate
B
$NOR$ gate
C
$AND$ gate
D
$OR$ gate

Solution

(C) The inputs to the $NOR$ gate are $\bar{A}$ and $\bar{B}$ because they pass through $NOT$ gates. The output $Y$ of the $NOR$ gate is given by the Boolean expression: $Y = \overline{\bar{A} + \bar{B}}$.
According to De Morgan's theorem,$\overline{\bar{A} + \bar{B}} = \overline{\bar{A}} \cdot \overline{\bar{B}} = A \cdot B$.
This is the Boolean expression for an $AND$ gate.
Truth table:
$A$$B$$\bar{A}$$\bar{B}$$\bar{A} + \bar{B}$$Y = \overline{\bar{A} + \bar{B}}$
$0$$0$$1$$1$$1$$0$
$0$$1$$1$$0$$1$$0$
$1$$0$$0$$1$$1$$0$
$1$$1$$0$$0$$0$$1$

Thus,the combination is equivalent to an $AND$ gate.
176
DifficultMCQ
To get output '$1$' at $R$, for the given logic gate circuit the input values must be
Question diagram
A
$X = 0, Y = 1$
B
$X = 1, Y = 1$
C
$X = 1, Y = 0$
D
$X = 0, Y = 0$

Solution

(C) From the circuit diagram, the inputs to the final $NOR$ gate are $P$ and $Q$.
$P = \overline{X} + Y$
$Q = \overline{X \cdot \overline{Y}}$
The output $R$ is given by the $NOR$ operation: $R = \overline{P + Q}$.
Substituting the expressions for $P$ and $Q$:
$R = \overline{(\overline{X} + Y) + (\overline{X \cdot \overline{Y}})}$
Using De Morgan's Law, $\overline{A + B} = \overline{A} \cdot \overline{B}$:
$R = (\overline{\overline{X} + Y}) \cdot (\overline{\overline{X \cdot \overline{Y}}})$
$R = (X \cdot \overline{Y}) \cdot (X \cdot \overline{Y})$
$R = X \cdot \overline{Y}$
For $R = 1$, we must have $X = 1$ and $\overline{Y} = 1$, which implies $Y = 0$.
Therefore, the input values must be $X = 1$ and $Y = 0$.
177
DifficultMCQ
The output $Y$ of the given logic circuit is:
Question diagram
A
$A\bar{B} + \bar{A}B$
B
$AB + \overline{AB}$
C
$A + B$
D
$A \cdot B$

Solution

(C) Let the output of the first $NAND$ gate be $X = \overline{AB} = \bar{A} + \bar{B}$.
The upper $NAND$ gate has inputs $A$ and $X$. Its output is $Y_1 = \overline{A \cdot X} = \overline{A \cdot (\bar{A} + \bar{B})} = \overline{A\bar{A} + A\bar{B}} = \overline{0 + A\bar{B}} = \overline{A\bar{B}} = \bar{A} + B$.
The lower $OR$ gate has inputs $X$ and $B$. Its output is $Y_2 = X + B = (\bar{A} + \bar{B}) + B = \bar{A} + (\bar{B} + B) = \bar{A} + 1 = 1$.
The final $NAND$ gate has inputs $Y_1$ and $Y_2$. Its output is $Y = \overline{Y_1 \cdot Y_2} = \overline{(\bar{A} + B) \cdot 1} = \overline{\bar{A} + B} = A \cdot \bar{B}$.
178
MediumMCQ
The logic gate equivalent to the given logic circuit is
Question diagram
A
$OR$
B
$AND$
C
$NOR$
D
$NAND$

Solution

(A) The given circuit consists of two $NOT$ gates connected to the inputs of a $NAND$ gate.
Let the inputs be $A$ and $B$. The outputs of the $NOT$ gates are $\bar{A}$ and $\bar{B}$.
These are the inputs to the $NAND$ gate,so the final output $Y$ is given by:
$Y = \overline{\bar{A} \cdot \bar{B}}$
Using De Morgan's theorem,$\overline{\bar{A} \cdot \bar{B}} = \overline{\bar{A}} + \overline{\bar{B}} = A + B$.
Thus,the output $Y = A + B$,which is the Boolean expression for an $OR$ gate.
Truth table:
$A$$B$$\bar{A}$$\bar{B}$$Y = \overline{\bar{A} \cdot \bar{B}}$
$0$$0$$1$$1$$0$
$0$$1$$1$$0$$1$
$1$$0$$0$$1$$1$
$1$$1$$0$$0$$1$

Hence,the equivalent gate is an $OR$ gate.
179
MediumMCQ
The truth table for the circuit given in the figure is
Question diagram
A
$A$$B$$Y$
$0$$0$$1$
$0$$1$$0$
$1$$0$$0$
$1$$1$$0$
B
$A$$B$$Y$
$0$$0$$0$
$0$$1$$0$
$1$$0$$1$
$1$$1$$1$
C
$A$$B$$Y$
$0$$0$$1$
$0$$1$$1$
$1$$0$$1$
$1$$1$$1$
D
$A$$B$$Y$
$0$$0$$1$
$0$$1$$1$
$1$$0$$0$
$1$$1$$0$

Solution

(D) The given circuit consists of an $OR$ gate and a $NAND$ gate. Let the output of the $OR$ gate be $C$. Then $C = A + B$.
The inputs to the $NAND$ gate are $A$ and $C$. The output $Y$ of the $NAND$ gate is given by $Y = \overline{A \cdot C}$.
Substituting $C = A + B$ into the expression for $Y$, we get $Y = \overline{A \cdot (A + B)} = \overline{A \cdot A + A \cdot B} = \overline{A + A \cdot B} = \overline{A(1 + B)} = \overline{A}$.
Let us verify this with a truth table:
$A$$B$$C = A + B$$A \cdot C$$Y = \overline{A \cdot C}$
$0$$0$$0$$0$$1$
$0$$1$$1$$0$$1$
$1$$0$$1$$1$$0$
$1$$1$$1$$1$$0$

Comparing this with the given options, the truth table matches option $D$.
Solution diagram
180
EasyMCQ
The output $W$ for the given logic circuit is:
Question diagram
A
$(X + Y) Z$
B
$(X - Y) Z$
C
$\bar{X} \cdot \bar{Y} + Z$
D
$(X + \bar{Y}) Z$

Solution

(D) $1$. The given circuit consists of an $OR$ gate followed by an $AND$ gate.
$2$. The inputs to the $OR$ gate are $X$ and $\bar{Y}$. Therefore,the output of the $OR$ gate is $(X + \bar{Y})$.
$3$. This output $(X + \bar{Y})$ and the input $Z$ are fed into the $AND$ gate.
$4$. The final output $W$ of the $AND$ gate is the product of its inputs: $W = (X + \bar{Y}) \cdot Z$.
181
MediumMCQ
In the circuit below,$A$ and $B$ represent two inputs and $C$ represents the output. The circuit represents:
Question diagram
A
$AND$ gate
B
$NOR$ gate
C
$OR$ gate
D
$NAND$ gate

Solution

(C) The given circuit consists of two diodes with their anodes connected to inputs $A$ and $B$,and their cathodes connected together to a common output terminal $C$,which is connected to the ground through a resistor.
Let the logic levels be $0$ (low voltage) and $1$ (high voltage).
$1$. If $A=0$ and $B=0$,both diodes are reverse-biased (or at zero potential),so the output $C=0$.
$2$. If $A=1$ and $B=0$,the diode connected to $A$ is forward-biased,allowing current to flow to $C$,so $C=1$.
$3$. If $A=0$ and $B=1$,the diode connected to $B$ is forward-biased,allowing current to flow to $C$,so $C=1$.
$4$. If $A=1$ and $B=1$,both diodes are forward-biased,and the output $C=1$.
This truth table ($0,0 \rightarrow 0$; $1,0 \rightarrow 1$; $0,1 \rightarrow 1$; $1,1 \rightarrow 1$) corresponds to an $OR$ gate.
182
EasyMCQ
Which of the following Boolean expressions is not correct?
A
$\overline {\bar A \cdot \bar B} = A + B$
B
$\overline {\bar A + \bar B} = A \cdot B$
C
$\overline{\overline {A \cdot B}} = A \cdot B$
D
$\bar 1 + \bar 1 = 1$

Solution

(D) According to De Morgan's laws:
$1$. $\overline{A \cdot B} = \bar A + \bar B$
$2$. $\overline{A + B} = \bar A \cdot \bar B$
Let's evaluate each option:
$A$: $\overline {\bar A \cdot \bar B} = \overline{\bar A} + \overline{\bar B} = A + B$. This is correct.
$B$: $\overline {\bar A + \bar B} = \overline{\bar A} \cdot \overline{\bar B} = A \cdot B$. This is correct.
$C$: $\overline{\overline {A \cdot B}} = A \cdot B$ (Double negation law). This is correct.
$D$: $\bar 1$ is the complement of $1$,which is $0$. So,$\bar 1 + \bar 1 = 0 + 0 = 0$. The given expression states it equals $1$,which is incorrect.
183
MediumMCQ
The combination of the gates shown will produce:
Question diagram
A
$AND$ gate
B
$NAND$ gate
C
$OR$ gate
D
$XOR$ gate

Solution

(D) Let the inputs be $A$ and $B$. The circuit consists of two $NOT$ gates, two $AND$ gates, and one $OR$ gate.
$1$. The upper $AND$ gate receives inputs $A'$ (from $NOT$ gate) and $B$. Its output is $A' \cdot B = \bar{A}B$.
$2$. The lower $AND$ gate receives inputs $A$ and $B'$ (from $NOT$ gate). Its output is $A \cdot B' = A\bar{B}$.
$3$. The final $OR$ gate combines these outputs: $Y = \bar{A}B + A\bar{B}$.
$4$. The Boolean expression $Y = \bar{A}B + A\bar{B}$ is the standard definition of an $XOR$ gate (Exclusive $OR$ gate).
Therefore, the combination produces an $XOR$ gate.
184
MediumMCQ
The following figure shows an $AND$ logic gate circuit with two inputs $A$ and $B$ and the output $C$. The voltage waveforms of $C$ will be:
Question diagram
A
Option A
B
Option B
C
Option C
D
Option D

Solution

(A) For an $AND$ gate,the output $C$ is high $(1)$ only when both inputs $A$ and $B$ are high $(1)$.
If either input is low $(0)$,the output $C$ is low $(0)$.
Looking at the provided waveforms:
- $A$ is high during the second and fourth time intervals.
- $B$ is high during the second and third time intervals.
- The output $C = A \cdot B$ will be high $(1)$ only during the second time interval where both $A$ and $B$ are high.
- Therefore,the waveform for $C$ will show a high pulse only during the second interval.
185
DifficultMCQ
The truth table for the gate shown in the following figure will be
Question diagram
A
$A, B, X$
$0, 0, 0$
$0, 1, 1$
$1, 0, 1$
$1, 1, 0$
B
$A, B, X$
$0, 0, 0$
$0, 1, 1$
$1, 0, 1$
$1, 1, 1$
C
$A, B, X$
$0, 0, 1$
$0, 1, 1$
$1, 0, 1$
$1, 1, 0$
D
$A, B, X$
$0, 0, 0$
$0, 1, 0$
$1, 0, 0$
$1, 1, 1$

Solution

(D) The given circuit consists of two $NOT$ gates (as the inputs are shorted) followed by a $NOR$ gate.
Let the inputs be $A$ and $B$.
The output of the first $NOT$ gate is $\bar{A}$.
The output of the second $NOT$ gate is $\bar{B}$.
These are the inputs to the $NOR$ gate.
The output $X$ of the $NOR$ gate is given by $X = \overline{\bar{A} + \bar{B}}$.
Using De Morgan's theorem,$\overline{\bar{A} + \bar{B}} = \overline{\bar{A}} \cdot \overline{\bar{B}} = A \cdot B$.
Thus,the circuit acts as an $AND$ gate.
The truth table for an $AND$ gate is:
If $A=0, B=0$,then $X=0$.
If $A=0, B=1$,then $X=0$.
If $A=1, B=0$,then $X=0$.
If $A=1, B=1$,then $X=1$.
Comparing this with the given options,option $D$ is correct.
186
MediumMCQ
The output of an $OR$ gate is connected to both the inputs of a $NAND$ gate. The combination will serve as a
A
$OR$ gate
B
$NOT$ gate
C
$NOR$ gate
D
$AND$ gate

Solution

(C) Let the inputs of the $OR$ gate be $A$ and $B$. The output of the $OR$ gate is $X = A + B$.
This output $X$ is connected to both inputs of a $NAND$ gate. Let the inputs of the $NAND$ gate be $I_1 = X$ and $I_2 = X$.
The output $Y$ of the $NAND$ gate is given by $Y = \overline{I_1 \cdot I_2} = \overline{X \cdot X} = \overline{X}$.
Substituting $X = A + B$,we get $Y = \overline{A + B}$.
The expression $\overline{A + B}$ represents the Boolean operation of a $NOR$ gate.
Therefore,the combination acts as a $NOR$ gate.
187
DifficultMCQ
Input waveforms $A$ and $B$ as shown in Fig-$I$ are applied to the combination of gates as shown in Fig-$II$. Which of the waveforms shown in Fig-$(i)$ to Fig-$(iv)$ correctly represents the output waveform $Y$?
Question diagram
A
Fig-$(i)$
B
Fig-$(ii)$
C
Fig-$(iii)$
D
Fig-$(iv)$

Solution

(B) The circuit in Fig-$II$ consists of two $NOT$ gates followed by an $OR$ gate.
Let the inputs be $A$ and $B$. The outputs of the $NOT$ gates are $\bar{A}$ and $\bar{B}$ respectively.
The final output $Y$ of the $OR$ gate is $Y = \bar{A} + \bar{B}$.
According to De Morgan's theorem,$\bar{A} + \bar{B} = \overline{A \cdot B}$.
This means the combination of gates acts as a $NAND$ gate.
$A$ $NAND$ gate gives a low output $(0)$ only when both inputs are high $(1)$,and a high output $(1)$ otherwise.
By observing the waveforms in Fig-$I$:
- When both $A$ and $B$ are high,$Y$ is low.
- In all other cases,$Y$ is high.
Comparing this logic with the given options,Fig-$(ii)$ correctly represents the output waveform $Y$.
188
EasyMCQ
Logic gates are constructed by
A
$PN$ junction
B
Transistor
C
Both
D
None

Solution

(B) Logic gates are the fundamental building blocks of digital circuits.
They are primarily constructed using transistors,specifically $Bipolar$ $Junction$ $Transistors$ $(BJT)$ or $Metal-Oxide-Semiconductor$ $Field-Effect$ $Transistors$ $(MOSFET)$.
While $PN$ junctions are the basic components of a transistor,the actual switching and logic operations are performed by the transistor configuration itself.
Therefore,logic gates are essentially constructed using transistors.
189
MediumMCQ
If $A = 100101$ and $B = 110110$ are applied to $X-NOR$ gate,then the output will be
A
$101100$
B
$011011$
C
$110111$
D
$010011$

Solution

(A) The $X-NOR$ gate produces an output of $1$ if both inputs are the same,and $0$ if the inputs are different.
Given inputs:
$A = 100101$
$B = 110110$
Comparing bit by bit:
$1$ $X-NOR$ $1 = 1$
$0$ $X-NOR$ $1 = 0$
$0$ $X-NOR$ $0 = 1$
$1$ $X-NOR$ $1 = 1$
$0$ $X-NOR$ $1 = 0$
$1$ $X-NOR$ $0 = 0$
Combining these results,the output is $101100$.
190
MediumMCQ
The following figure shows a logic gate circuit with two inputs $A$ and $B$ and the output $Y$. The voltage waveforms of $A$,$B$,and $Y$ are as given. The logic gate is
Question diagram
A
$OR$ gate
B
$AND$ gate
C
$NAND$ gate
D
$NOR$ gate

Solution

(C) To identify the logic gate,we analyze the truth table from the given waveforms:
At $t < t_1$: $A=1, B=1, Y=0$
At $t_1 < t < t_2$: $A=0, B=0, Y=1$
At $t_2 < t < t_3$: $A=0, B=1, Y=1$
At $t_3 < t < t_4$: $A=1, B=0, Y=1$
At $t_4 < t < t_5$: $A=1, B=1, Y=0$
Summarizing the truth table $(A, B, Y)$:
$(0, 0) \rightarrow 1$
$(0, 1) \rightarrow 1$
$(1, 0) \rightarrow 1$
$(1, 1) \rightarrow 0$
This truth table corresponds to a $NAND$ gate,where the output is $0$ only when both inputs are $1$,and $1$ otherwise.
191
MediumMCQ
In the given circuit,the output $Y$ becomes zero for the inputs
Question diagram
A
$A = 1, B = 1, C = 0$
B
$A = 0, B = 1, C = 1$
C
$A = 0, B = 0, C = 0$
D
$A = 1, B = 1, C = 1$

Solution

(A) The circuit consists of an $AND$ gate with inputs $A$ and $B$,followed by a $NAND$ gate. The input $C$ passes through a $NOT$ gate before entering the $NAND$ gate.
Let the output of the $AND$ gate be $X = A \cdot B$.
The input $C$ passes through a $NOT$ gate,so its output is $\bar{C}$.
The final output $Y$ is the output of the $NAND$ gate with inputs $X$ and $\bar{C}$,which is $Y = \overline{X \cdot \bar{C}} = \overline{(A \cdot B) \cdot \bar{C}}$.
For the output $Y$ to be zero,the expression $(A \cdot B) \cdot \bar{C}$ must be $1$.
This requires $A \cdot B = 1$ and $\bar{C} = 1$.
$A \cdot B = 1$ implies $A = 1$ and $B = 1$.
$\bar{C} = 1$ implies $C = 0$.
Therefore,the inputs are $A = 1, B = 1, C = 0$.
192
MediumMCQ
The following figure $(i)$ shows a logic gate circuit with two inputs $A$ and $B$ and output $C$. The voltage waveforms of $A, B$,and $C$ are as shown in the figure $(ii)$ given below. The logic circuit gate is:
Question diagram
A
$OR$
B
$AND$
C
$NAND$
D
$NOR$

Solution

(B) By observing the voltage waveforms in figure $(ii)$,we can construct the truth table for the inputs $A, B$ and output $C$:
$A$ $B$ $C$
$1$ $1$ $1$
$0$ $1$ $0$
$1$ $0$ $0$
$0$ $0$ $0$

From the truth table,we can see that the output $C$ is $1$ only when both inputs $A$ and $B$ are $1$. This behavior corresponds to the $AND$ gate,where the output is high $(1)$ if and only if all inputs are high $(1)$.
193
MediumMCQ
The output $W$ is given by:
Question diagram
A
$(X+Y)Z$
B
$(X-Y)Z$
C
$(\bar{X} + \bar{Y}) \cdot Z$
D
$(\bar{X} \cdot \bar{Y}) \cdot Z$

Solution

(C) The given circuit consists of an $OR$ gate followed by an $AND$ gate.
$1$. The inputs to the $OR$ gate are $\bar{X}$ and $\bar{Y}$. The output of the $OR$ gate is $(\bar{X} + \bar{Y})$.
$2$. This output $(\bar{X} + \bar{Y})$ and the input $Z$ are fed into an $AND$ gate.
$3$. The final output $W$ of the $AND$ gate is the product of its inputs: $W = (\bar{X} + \bar{Y}) \cdot Z$.
194
EasyMCQ
For which gate is the output high,if at least one input is low?
A
$NAND$
B
$NOR$
C
$AND$
D
$OR$

Solution

(A) The truth table of a $NAND$ gate is defined by the Boolean expression $Y = \overline{A \cdot B}$.
If at least one input ($A$ or $B$) is low $(0)$,then the product $A \cdot B$ is $0$.
The output $Y = \overline{0} = 1$,which is high.
Therefore,for a $NAND$ gate,the output is high if at least one input is low.
195
DifficultMCQ
The circuit given below is equivalent to
Question diagram
A
$NOR$ gate
B
$OR$ gate
C
$AND$ gate
D
$NAND$ gate

Solution

(A) The circuit consists of a $NOR$ gate,a $NAND$ gate with both inputs tied together (acting as a $NOT$ gate),and a $NOT$ gate.
Let the inputs be $A$ and $B$. The output of the $NOR$ gate is $Y_1 = \overline{A+B}$.
The $NAND$ gate with tied inputs acts as a $NOT$ gate,so its output is $Y_2 = \overline{Y_1} = \overline{\overline{A+B}} = A+B$.
The final $NOT$ gate inverts this,so the final output $Y = \overline{Y_2} = \overline{A+B}$.
This is the Boolean expression for a $NOR$ gate.
| Inputs $(A, B)$ | $NOR$ Output $(Y_1)$ | $NAND$ Output $(Y_2)$ | Final Output $(Y)$ |
| :--- | :--- | :--- | :--- |
| $0, 0$ | $1$ | $0$ | $1$ |
| $0, 1$ | $0$ | $1$ | $0$ |
| $1, 0$ | $0$ | $1$ | $0$ |
| $1, 1$ | $0$ | $1$ | $0$ |
Solution diagram
196
MediumMCQ
The output $Y$,when all the three inputs are first high and then low,will respectively be
Question diagram
A
$1,0$
B
$1,1$
C
$0,0$
D
$0,1$

Solution

(D) The circuit consists of an $AND$ gate followed by a $NAND$ gate. Let the three inputs be $A, B, C$. The first $AND$ gate takes two inputs (say $A$ and $B$) and produces an output $X = A \cdot B$. The $NAND$ gate takes $X$ and the third input $C$ to produce the final output $Y = \overline{X \cdot C} = \overline{A \cdot B \cdot C}$.
Case $1$: All inputs are high $(A=1, B=1, C=1)$.
$Y = \overline{1 \cdot 1 \cdot 1} = \overline{1} = 0$.
Case $2$: All inputs are low $(A=0, B=0, C=0)$.
$Y = \overline{0 \cdot 0 \cdot 0} = \overline{0} = 1$.
Thus,the outputs are $0$ and $1$ respectively. Therefore,the correct option is $D$.
197
MediumMCQ
The output $W$ for the given logic circuit is:
Question diagram
A
$(\overline {X.Y} )\, + \,Z$
B
$(\overline {X+Y} )\, . \,Z$
C
$(\overline X .\overline Y )\,.\,Z$
D
Both $(B)$ and $(C)$

Solution

(D) $1$. The inputs $X$ and $Y$ are fed into an $OR$ gate. The output of the $OR$ gate is $(X + Y)$.
$2$. This output $(X + Y)$ is then passed through a $NOT$ gate (indicated by the bubble at the input of the $AND$ gate,or if we interpret the circuit as having a $NOR$ gate followed by an $AND$ gate). Looking at the diagram,the $OR$ gate output is inverted before entering the $AND$ gate. Thus,the input to the $AND$ gate from the first part is $\overline{X+Y}$.
$3$. The other input to the $AND$ gate is $Z$.
$4$. The final output $W$ of the $AND$ gate is the product of its inputs: $W = (\overline{X+Y}) . Z$.
$5$. According to De Morgan's Law,$\overline{X+Y} = \overline{X} . \overline{Y}$.
$6$. Therefore,$W = (\overline{X} . \overline{Y}) . Z$.
$7$. Since both expressions $(B)$ and $(C)$ are equivalent,the correct option is $(D)$.
198
DifficultMCQ
The circuit diagram shows a logic combination with the states of outputs $X, Y$ and $Z$ given for inputs $P, Q, R$ and $S$ all at state $1$. When inputs $P$ and $R$ change to state $0$ with inputs $Q$ and $S$ still at $1$,the states of outputs $X, Y$ and $Z$ change to:
Question diagram
A
$1, 0, 0$
B
$1, 1, 1$
C
$0, 1, 0$
D
$0, 0, 1$

Solution

(C) The circuit consists of an $AND$ gate,a $NOR$ gate,a $NOT$ gate,and a $NOR$ gate.
$1$. The output $X$ is the output of an $AND$ gate with inputs $P$ and $Q$. Thus,$X = P \cdot Q$.
$2$. The lower part consists of a $NOR$ gate with inputs $R$ and $S$,followed by a $NOT$ gate. The output of the $NOR$ gate is $\overline{R+S}$. Passing this through a $NOT$ gate gives $Y = \overline{\overline{R+S}} = R+S$.
$3$. The final output $Z$ is the output of a $NOR$ gate with inputs $X$ and $Y$. Thus,$Z = \overline{X+Y}$.
$4$. Given inputs: $P=0, Q=1, R=0, S=1$.
$5$. Calculating $X$: $X = P \cdot Q = 0 \cdot 1 = 0$.
$6$. Calculating $Y$: $Y = R + S = 0 + 1 = 1$.
$7$. Calculating $Z$: $Z = \overline{X+Y} = \overline{0+1} = \overline{1} = 0$.
Therefore,the new states of outputs $X, Y$ and $Z$ are $0, 1, 0$ respectively.
Solution diagram

Semiconductor Electronics — Boolean Algebra and Logic Gates · Frequently Asked Questions

1Are these Semiconductor Electronics questions useful for JEE and NEET?

Yes. All questions in this section are mapped to JEE Main and NEET exam patterns. Previous year questions from JEE Main, NEET, GUJCET and state-level exams are included with full solutions.

2Can I switch to Hindi or Gujarati for these questions?

Yes. Use the language tabs in the hero section or the sidebar to view the same questions and solutions in English, Hindi or Gujarati.

3How do I generate a question paper from this subtopic?

Use the Vedclass Exam Paper Generator — select the chapter and subtopic, set difficulty, and generate Sets A, B, C, D automatically. First 3 chapters of every subject are free.

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D papers from this chapter in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo
For Teachers & Institutes

Generate a Semiconductor Electronics Exam Paper in 2 Minutes

Select subtopic & difficulty — Sets A, B, C, D auto-generated with No Repeat logic.

First 3 chapters of every subject are free — no payment required.