Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
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 = (A AND B) OR C | AOne row is not enough. Two different circuits can match on one row, so you must test every row, or at least rows where the outputs could differ. | |
| 2A=1, B=0, C=1 → X=? | BCircuit: NOT A, then AND B | Expression: X = A AND B | |
| 3A missing NOT in an expression makes it differ from the circuit on some rows, so the two are not equivalent | CEvaluate this by working out A AND B first, then OR the result with C. Do this for every row of the truth table. | |
| 4Tracing a circuit row by row gives an output X that you can compare with the matching row of the truth table | DA=1, B=1: A AND B = 1, NOT 1 = 0, so X = 0 | |
| 5Expression: X = NOT (A AND B). Circuit: NOT A, then AND B. The student says they agree. | EA test row: put these input values into the circuit and the expression, then compare the two outputs X. | |
| 6The student checks only the row A=0, B=0 and says the circuit and the truth table agree. | FThe brackets are in the wrong place. NOT (A AND B) inverts the result of the AND, but the circuit inverts only A before the AND, so they give different outputs. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
equivalent — A circuit, expression and truth table are equivalent when each gives the same output X for the same inputs. Check by working out X row by row in each one and comparing the results.A = 1, B = 0, C = 1
X = (A AND B) OR C
X = 1Circuit: B OR C first, then AND with A
X = A AND (B OR C)Table: A=1,B=0 gives X=1; A=1,B=1 gives X=0
X = A AND NOT BInputs A, B and C: test all combinations
Number of rows in the truth table: 8Circuit, expression, table: same X per row
They are equivalent