JEE Challenger
More from Semiconductor Electronics

Output of Logic Circuit for Four Bit Binary Inputs

Two 4 bits binary numbers, A=1101A = 1101 and B=1010B = 1010 are given in the inputs of a logic circuit shown in figure below. The output (YY) will be :

Question Diagram 1

Options

A

Y=1101Y = 1101

Correct
B

Y=0010Y = 0010

C

Y=0111Y = 0111

D

Y=1000Y = 1000

Topics & Concepts

Step-by-Step Solution

To determine the output YY of the logic circuit, we first find the Boolean expression for YY in terms of inputs AA and BB.

  1. Analysis of the Circuit:

    • Input AA passes through a NOT gate, giving the output A\overline{A}.
    • Input BB is directly fed into the logic gate.
    • The two inputs, A\overline{A} and BB, enter a NAND gate.
  2. Boolean Expression: The output of the NAND gate is given by: Y=ABY = \overline{\overline{A} \cdot B}

    Using De Morgan's Law (XY=X+Y\overline{X \cdot Y} = \overline{X} + \overline{Y}), we simplify the expression: Y=A+B=A+BY = \overline{\overline{A}} + \overline{B} = A + \overline{B}

  3. Bitwise Calculation: Given inputs: A=1101andB=1010A = 1101 \quad \text{and} \quad B = 1010

    Taking the bitwise NOT of BB: B=0101\overline{B} = 0101

    Now, performing the bitwise OR operation (Y=A+BY = A + \overline{B}):

    A=1101B=0101Y=A+B=1101\begin{array}{rccccccc} A &=& 1 & 1 & 0 & 1 \\ \overline{B} &=& 0 & 1 & 0 & 1 \\ \hline Y = A + \overline{B} &=& 1 & 1 & 0 & 1 \end{array}

Thus, the output is Y=1101Y = 1101.

Correct Answer: Option A (Y=1101Y = 1101)

Output of Logic Circuit for Four Bit Binary Inputs | Physics PYQ Solution - JEE Challenger