For the given logic gate circuit, which of the following is the correct truth table ?
(see the figure above)

- (1)
$n$ $m$ $z$ 0 0 0 0 1 1 1 1 0 1 0 1 - (2)
$n$ $m$ $z$ 0 0 1 0 1 1 1 1 0 1 0 0 - (3)
$n$ $m$ $z$ 0 0 1 0 1 0 1 1 1 1 0 0 - (4)
$n$ $m$ $z$ 0 0 1 0 1 0 1 1 0 1 0 0
Show answer
Option (2) is correct.
Official NTA final key