Which statement is true for the given circuit:

| 1. | \(\mathrm{(a)}\) is OR gate and \(\mathrm{(b)}\) is NOT gate |
| 2. | \(\mathrm{(a)}\) is NOT gate and \(\mathrm{(b)}\) is OR gate |
| 3. | \(\mathrm{(a)}\) is AND gate and \(\mathrm{(b)}\) is OR gate |
| 4. | \(\mathrm{(a)}\) is OR gate and \(\mathrm{(b)}\) is AND gate |
A \(\mathrm{NAND}\) gate is connected, as shown in the figure.

The circuit operates like a:
1. NOT gate
2. OR gate
3. AND gate
4. None of these