Standard Logic Gates (NOT, AND, OR, NAND, NOR, XOR)

Logic gates operate on Boolean inputs: 0 is false and 1 is true. Learn both each gate's behaviour and its drawn symbol. Inputs enter on the left; the output leaves on the right. A small circle indicates inversion (NOT).

Standard AND, OR, NOT, NAND, NOR and XOR symbols with inputs on the left and outputs on the right

Gate

When its output is 1

AND

Both inputs are 1

OR

At least one input is 1

NOT

Its single input is 0

NAND

Not both inputs are 1

NOR

Both inputs are 0

XOR

Exactly one input is 1

Worked comparison

For A=1 and B=1, AND and OR output 1, while XOR outputs 0. XOR is not simply another drawing of OR. NOT has one input; the other gates here have two.

Drawing practice

On paper draw each gate without looking, label its inputs/output, then compare with the symbol sheet. Check the curved AND/OR shapes, the extra input curve for XOR, and the inversion circles for NOT/NAND/NOR. State each gate's output for 0,0 and 1,1 before submitting the structured checks.

AI Socratic Tutor

All-Access
Sign in or create an account. AI Tutor is an All-Access benefit.
Sign Up

Need guidance? Ask a question or use the hint below.

AI Socratic Tutor is an All-Access Benefit

Unlock step-by-step Socratic hints, algorithm trace table walkthroughs, and error diagnostics for every Cambridge exercise.

You're chatting with an AI tutor, not a person. AI can make mistakes, so double-check its answers.

Exam-Style Check: Operational Behavior of the XOR Gate

• Multiple Choice
+25 XP
Question

Which of the following describes the exact operating condition under which a 2-input XOR (Exclusive-OR) logic gate outputs a binary 1?

All-Access Required

Interactive exercises for Module 2 and beyond require an active plan.