Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This Common mistakes with logic gates, expressions and truth tables worksheet is part of the IGCSE Computer Science 0478 — 10 Boolean Logic journey. Print it as a booklet?
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1X = NOT (A AND B) but written as X = A AND B | AA B C | (A AND B) | X = (A AND B) OR C | |
| 2Rows in order: 00, 01, 11, 10 | BNAND confused with AND: the output is not inverted, so the truth table is wrong | |
| 3OR gives 1 when both inputs are 1, but XOR gives 0 in that row, so they must not be confused | CNOT is applied to the wrong part: it only inverts A, not (A AND B). Brackets are missing | |
| 4Intermediate columns for each gate help you avoid errors when completing a truth table with several gates | DA=1, B=1: A OR B = 1 but A XOR B = 0 | |
| 5X = NOT A AND B (meant NOT of the whole A AND B) | EWrong number of inputs: a NOT gate has exactly one input | |
| 6A NOT gate drawn with two inputs, A and B | FRows out of binary order: 11 is placed before 10, so the table should run 00, 01, 10, 11 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
common logic mistakes — Mixing up NAND/AND or OR/XOR, rows out of binary order, NOT on the wrong part, missing brackets or columns, wrong input counts, or simplifying a circuit that must be drawn as given.X = NOT (A AND B)
// This is NAND, not ANDX = A XOR B
// Output is 0 when A=1 and B=10 0 1
0 1 0
0 1 1Column P = A AND B
Column X = P OR CNOT gate: 1 input, 1 output
AND gate: 2 inputs, 1 output