Unable to open this exercise
Common exam pitfall
Students often invert NAND and NOR or confuse XOR with standard inclusive OR.
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).
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
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 Question: Determine Logic Gate Outputs
Given two inputs A = 1 and B = 0, determine the binary output (0 or 1) for each logic gate:
- Output of an AND gate (1 AND 0): [Space 1]
- Output of an OR gate (1 OR 0): [Space 2]
- Output of an XOR gate (1 XOR 0): [Space 3]
- Output of a NAND gate (NOT (1 AND 0)): [Space 4]
Interactive exercises for Module 2 and beyond require an active plan.