Semiconductors

JEE Main level, single correct, medium

134 of 209

Question 134 of 209

For the given logic gate circuit, which of the following is the correct truth table?
Figure for the Semiconductors question: For the given logic gate circuit, which of the following is the correct truth table? <img…

Show answer and solution

Answer: (D) nmz001011110100\begin{array}{c|c|c} n & m & z \\ \hline 0 & 0 & 1 \\ 0 & 1 & 1 \\ 1 & 1 & 0 \\ 1 & 0 & 0 \end{array}

The given logic circuit consists of an OR gate and a NAND gate.
The output of the OR gate is
y=n+my = n + m.
The inputs to the NAND gate are
nn and yy.
The final output
zz is given by z=n⋅y‾=n⋅(n+m)‾z = \overline{n \cdot y} = \overline{n \cdot (n + m)}.
Using Boolean algebra:
n⋅(n+m)=n⋅n+n⋅m=n+n⋅m=n(1+m)=nn \cdot (n + m) = n \cdot n + n \cdot m = n + n \cdot m = n(1 + m) = n.
Therefore,
z=n‾z = \overline{n}.
Let's verify this with the truth table:

nmy = n + mz = NAND(n, y)0001011111101010

Comparing this with the given options, option (4) matches the calculated truth table.

Full year-wise papers: JEE Main question papers (PDF)

Explain it as a whiteboard videoStep-by-step, in Hinglish or English. The written solution is free, and so is your first video.Solved it on paper but got it wrong?Upload a photo of your working. Mistake Doctor marks the exact line that broke.
Learn Logic gates in depthA teacher-style lesson with diagrams, derivations and exam questions.Take a test on Logic gatesTimed questions, then a report on what to revise.

Learn the concept

Semiconductor Electronics — p–n junction and diodeClass 12 Physics lesson with diagrams, worked examples and a quick check.
See it move: Semiconductors, diodes and logic gates simulationDrag the sliders and watch the numbers in this question change.

More questions on Logic gates