Identify the correct truth table of the given logic circuit. 
Find the correct combination of A, B, C and D inputs which can cause the LED to glow. 
The heat generated in 1 minute between points A and B in the given circuit, when a battery of 9 V with internal resistance of 1 \(\Omega\) is connected across these points is ______ J. 
The given circuit works as: 