Pratidin
2026 · Electrical Engineering Optional Paper I · 10 marksMainsQuestion 1d

A combinational logic circuit consisting of two numbers of 2 to 4 decoders is shown in the figure below :
[Figure, described in words: X drives input A₁ and Y drives input B₁ of the first 2 to 4 decoder, whose outputs are D₀, D₁, D₂, D₃. D₁ and D₂ end in unconnected terminals. D₀ is connected to the upper input of an XOR gate and also to the upper input of an XNOR gate. D₃ is connected to the lower input of the XNOR gate and also to the lower input of the XOR gate. The XOR output drives A₂ and the XNOR output drives B₂ of the second 2 to 4 decoder, whose outputs are Y₀, Y₁, Y₂, Y₃.]
In this circuit, (A₁, B₁) are the inputs and (D₀ to D₃) are the outputs of the first decoder, while (A₂, B₂) are the inputs and (Y₀ to Y₃) are the outputs of the second decoder. Determine the logic expressions for Y₁ and Y₂ in terms of X and Y.

10 marks · directive: Determine

Answer

The core of a good answer

Taking A as the more significant select input and active high outputs, A₂ = D₀ ⊕ D₃ = X⊙Y and B₂ = (A₂)′ = X ⊕ Y, so Y₁ = A₂′B₂ = X ⊕ Y = X′Y + XY′ and Y₂ = A₂B₂′ = X⊙Y = X′Y′ + XY (Y₀ = Y₃ = 0 always).

An outline written by upsc.help, not an official UPSC answer; every fact checked by a separate review. How we work

What the question asks

Analysis of a decoder based combinational circuit: write the minterm form of each decoder output, simplify the gate outputs using the fact that decoder outputs are mutually exclusive, then apply the second decoder's minterm decoding. A truth table is the cleanest proof.

Answer outline

Introduction

Assume active high outputs and that A is the more significant select line of each decoder (D_i is high when A₁B₁ is the binary number i). Then D₀ = X′Y′, D₁ = X′Y, D₂ = XY′, D₃ = XY.

Step 1: Gate outputs

Step 2: Truth table

Step 3: Second decoder outputs

Step 4: Note on the select line convention

Conclusion

Y₁ = X ⊕ Y (odd parity / XOR) and Y₂ = X⊙Y (equivalence / XNOR); the circuit is effectively an XOR and XNOR generator, with Y₀ and Y₃ permanently 0.

Examples and data to cite

Facts

Facts to remember

Sources used for the explanation

Write a timed answer in the app