I know everything except the structure of logic gates. Recently a HighOrderThinkingSkill question asked the gate from structure where I was totally stumped please help me:
where A and B are input and : $$1\to>5V\\0\to<1V$$
How to find and be prepared for future questions?
The answer key says it's an AND gate, but I don't understand why.