In the digital circuit shown in the figure, for the given inputs the P and Q values are:

Given a digital logic circuit with both inputs set to logic 1 (HIGH), determine the outputs \( P \) and \( Q \).
Standard Boolean operations for logic gates:
Step 1: Input identification.
Both the upper and lower inputs are designated as logic 1 (HIGH).
Step 2: Top-left gate analysis.
This is a NAND gate. With inputs 1 and 1, the AND operation yields 1. Therefore, the NAND output is NOT(1) = 0. \[ \text{Output of NAND gate} = 0 \]
Step 3: Bifurcation of NAND gate output.
The output of this NAND gate (0) serves as an input to the lower-left OR gate and one input to the rightmost AND gate (which determines P).
Step 4: Bottom-left gate analysis.
The OR gate has two inputs: the direct lower input (1) and the output from the NAND gate (0). The OR operation with inputs 1 and 0 results in an output of 1. So, OR output = 1.
Step 5: Inverter analysis.
The output of the OR gate (1) passes through a NOT gate. The output of the NOT gate is NOT(1) = 0.
Step 6: Second-to-last gate analysis (determines Q).
This NOR gate receives the output from the NOT gate (0) and the direct upper input (1). The OR operation with inputs 1 and 0 yields 1. Therefore, the NOR output is NOT(1) = 0. \[ Q = 0 \]
Step 7: Final output analysis (determines P).
The rightmost AND gate receives two inputs: the output of the first NAND gate (0) and the top input (1). The AND operation with inputs 1 and 0 yields 0. \[ P = 0 \]
\[ P = 0,\quad Q = 0 \]
Correct Option: (2) \( P = 0, Q = 0 \)
In the circuit shown, assuming the threshold voltage of the diode is negligibly small, then the voltage \( V_{AB} \) is correctly represented by:
The truth table corresponding to the circuit given below is 