Join WhatsApp Icon JEE WhatsApp Group
Question 19

For the following circuit and given inputs $$A$$ and $$B$$, choose the correct option for output 'Y'

imageimage

Let the two inputs be $$A$$ and $$B$$. All the four gates shown in the network are two-input NAND gates. We label the output of each NAND gate so that the algebra can be written step by step.

Gate-1 output: $$P = \overline{A\;B}$$ $$-(1)$$ Gate-2 output (driven by $$A$$ and $$P$$): $$Q = \overline{A\;P}$$ $$-(2)$$ Gate-3 output (driven by $$B$$ and $$P$$): $$R = \overline{B\;P}$$ $$-(3)$$ Gate-4 output (final output $$Y$$, driven by $$Q$$ and $$R$$): $$Y = \overline{Q\;R}$$ $$-(4)$$

Substitute $$P$$ from $$(1)$$ into $$(2)$$: $$Q = \overline{\,A \;\overline{A\;B}\,}$$

Apply the distributive property inside the complement: $$A \;\overline{A\;B} = A\;(\overline{A} + \overline{B})$$ (because $$\overline{X\,Y} = \overline{X} + \overline{Y}$$) Now, $$A\;(\overline{A} + \overline{B}) = A\;\overline{A} + A\;\overline{B} = 0 + A\;\overline{B} = A\;\overline{B}$$

Therefore, $$Q = \overline{A\;\overline{B}} = \overline{A}\;+\;B$$ $$-(5)$$ (using $$\overline{X\,Y} = \overline{X} + \overline{Y}$$ once more)

In the same way, substitute $$P$$ from $$(1)$$ into $$(3)$$: $$R = \overline{\,B \;\overline{A\;B}\,}$$ Proceeding exactly as before, we get $$R = \overline{B\;\overline{A}} = \overline{B}\;+\;A$$ $$-(6)$$

Finally, substitute $$(5)$$ and $$(6)$$ into $$(4)$$: $$Y = \overline{\,(\overline{A}+B)\;(\overline{B}+A)\,}$$

Expand the product: $$(\overline{A}+B)\;(\overline{B}+A) = \overline{A}\;\overline{B} + \overline{A}\;A + B\;\overline{B} + B\;A = \overline{A}\;\overline{B} + 0 + 0 + A\;B = \overline{A}\;\overline{B} + A\;B$$

Therefore, $$Y = \overline{\,\overline{A}\;\overline{B} + A\;B\,}$$

Recall De Morgan’s theorem, $$\overline{P + Q} = \overline{P}\;\overline{Q}$$. Apply it to the above expression:

$$Y = \overline{\overline{A}\;\overline{B}}\;\cdot\;\overline{A\;B} = (A + B)\;(\overline{A} + \overline{B})$$

Now expand once more:

$$(A + B)(\overline{A} + \overline{B}) = A\;\overline{A} + A\;\overline{B} + B\;\overline{A} + B\;\overline{B} = 0 + A\;\overline{B} + B\;\overline{A} + 0 = A\;\overline{B} + \overline{A}\;B$$

The Boolean expression $$Y = A\;\overline{B} + \overline{A}\;B$$ is the definition of the Exclusive-OR (XOR) operation between $$A$$ and $$B$$, symbolically $$A \oplus B$$.

Hence the network implements an XOR gate, so the truth table of $$Y$$ is

A B | Y
0 0 | 0
0 1 | 1
1 0 | 1
1 1 | 0

Among the four answer choices, Option 3 corresponds to $$Y = A \oplus B$$. Therefore, Option 3 is correct.

Get AI Help

JEE Quant Questions | JEE Quantitative Ability

JEE DILR Questions | LRDI Questions For JEE

JEE Verbal Ability Questions | VARC Questions For JEE

Free JEE Topicwise Questions

JEE Rotational MotionJEE Units & MeasurementsJEE Atomic StructureJEE GravitationJEE Periodic Table & PeriodicityJEE StatisticsJEE Inverse Trigonometric FunctionsJEE Magnetism & Magnetic MaterialsJEE Sequences & SeriesJEE MatricesJEE Alternating CurrentsJEE Carboxylic AcidsJEE Permutations & CombinationsJEE Work, Energy & PowerJEE Electromagnetic InductionJEE Electronic DevicesJEE d and f-Block ElementsJEE Chemical KineticsJEE Heat TransferJEE Three Dimensional GeometryJEE Magnetic Effects of CurrentJEE Hydrocarbons - AromaticJEE Electromagnetic WavesJEE Aldehydes & KetonesJEE Hydrocarbons - AlkanesJEE Applications of DerivativesJEE EquilibriumJEE Indefinite IntegrationJEE Chemical ThermodynamicsJEE ElectrochemistryJEE ProbabilityJEE BiomoleculesJEE Continuity & DifferentiabilityJEE Kinetic Theory of GasesJEE Vector AlgebraJEE Hydrocarbons - AlkynesJEE Differential EquationsJEE Current & ResistanceJEE Straight LinesJEE WavesJEE Redox ReactionsJEE Hydrocarbons - AlkenesJEE DeterminantsJEE SolutionsJEE Ray OpticsJEE Dual Nature of Matter & RadiationJEE Chemical Bonding & Molecular StructureJEE Complex NumbersJEE Sets, Relations & FunctionsJEE Electric Charges & FieldsJEE Laws of MotionJEE Fluid MechanicsJEE Basic Concepts in ChemistryJEE Trigonometric FunctionsJEE LimitsJEE Laws of ThermodynamicsJEE Kinematics - 2D MotionJEE p-Block Elements (Groups 13-18)JEE Simple Harmonic MotionJEE Electric Potential & CapacitanceJEE Coordination CompoundsJEE JEE 2D GeometryJEE CirclesJEE Definite IntegrationJEE EMF & Circuit AnalysisJEE Surface TensionJEE Atoms & NucleiJEE Laboratory Experiments - XIJEE Number SystemJEE Basic Principles of Organic ChemistryJEE Wave OpticsJEE Quadratic EquationsJEE Alcohols, Phenols & EthersJEE Organic Compounds with HalogensJEE DifferentiationJEE Conic SectionsJEE Nitrogen-Containing CompoundsJEE ElasticityJEE Practical Organic ChemistryJEE Kinematics - 1D MotionJEE Purification & CharacterisationJEE Binomial Theorem
Ask AI