The truth table for this given circuit is:

The truth table for this given circuit is:






With respect to the above diagram, the final output can be calculated as follows:
Hence, the required truth table can be written as follows:

Asked in: JEE Main 2024 (29 Jan Shift 2)