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 | |
|---|---|---|
| 1P = A AND B | AX = Q AND P | |
| 2Q = NOT A | BThe intermediate column P should be completed first. X uses P, so filling in X before P makes the step by step method impossible and invites errors. | |
| 3Work out the bracket first in its own column P, then use P with C to find the final output X | CP = A AND B, X = P OR C | |
| 4Give the NOT A result its own column Q, then combine Q with the P column in the last column | DAn intermediate column that holds the opposite of input A in each row, ready to be used in a later column | |
| 5Row A=1, B=0: P = A AND B = 1 | EAn intermediate column that holds the output of the bracket (A AND B) for every row, before the final output X is worked out | |
| 6Final column X = (A AND B) OR C, filled in before column P | FP is worked out wrongly. 1 AND 0 gives 0, because AND needs both inputs to be 1. The wrong value in P then spoils the final output X. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
intermediate column — An extra truth table column for a bracket or gate output, such as P = A AND B. It is filled in first, so the final output X can be worked out step by step from earlier columns.X = (A AND B) OR C
P = A AND BX = (NOT A) AND B
Q = NOT AX = (A AND B) OR (NOT A)
P = A AND B, Q = NOT A
X = P OR QX = (A AND B) OR C
P = A AND B
X = P OR CP = A AND B
Q = NOT A
X = P OR Q