JEE MainPhysicsSemiconductors
In a digital logic circuit, two inputs A and B are connected to a NAND gate. The output of this NAND gate and the input B are then fed into an AND gate to produce the final output Y. The logic states of inputs A and B over five consecutive time intervals are given below: Input A: 0, 1, 0, 1, 1 Input B: 0, 0, 1, 1, 0 The sequence of logic states for the final output Y over these five intervals will be:
Options
- A0, 0, 1, 0, 0
- B0, 0, 0, 1, 0
- C0, 1, 1, 1, 1
- D1, 1, 1, 0, 1
Correct answer
A. 0, 0, 1, 0, 0
Step-by-step solution
Let the output of the NAND gate be C . The Boolean expression for C is C = A B . The final output Y is the output of the AND gate, which takes C and B as inputs. So, the expression for Y is Y = C B = ( A B ) B . Let us evaluate the outputs for each time interval step-by-step: Interval 1: A = 0, B = 0 C = 0 0 = 1 Y = 1 0 = 0 Interval 2: A = 1, B = 0 C = 1 0 = 1 Y = 1 0 = 0 Interval 3: A = 0, B = 1 C = 0 1 = 1 Y = 1 1 = 1 Interval 4: A = 1, B = 1 C = 1 1 = 0 Y = 0 1 = 0 Interval 5: A = 1, B = 0 C = 1 0 = 1 Y = 1 0 =