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 | |
|---|---|---|
| 1A=1, B=0, A AND B = 0 | AWrite 1 on wire A and 0 on wire B, then the AND gate outputs 0 on its output wire | |
| 2NOT gate: 0 in, 1 out | B(A OR B) AND C: do A OR B first, then AND with C | |
| 3Work through the gates from left to right, so a gate's inputs are known before you work out its output | CWrite the gate's output on its output wire so the next gate to the right can use it as an input | |
| 4The final answer is the value written on the last wire, which is the output X | DAND outputs 1 only when both inputs are 1. With inputs 1 and 0 the output on the wire should be 0, not 1. | |
| 5A=1, B=0: A AND B = 1 | EA=1, B=1, C=0 gives X = (A AND B) OR C = 1 | |
| 6Trace (A OR B) AND C: do AND first, then OR | FThe gates were traced in the wrong order. You must work left to right, so the OR gate is traced first and its output feeds the AND gate. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
trace a circuit — Write the input values on the wires, then work gate by gate from left to right, writing each gate's output on its output wire until you reach the final output X.Trace a circuit from left to rightA = 1, B = 1
P = A NAND B = 1 NAND 1 = 0
X = NOT P = NOT 0 = 1A = 1, B = 0, C = 1
P = A AND B = 1 AND 0 = 0
X = P OR C = 0 OR 1 = 1A = 0, B = 1, P = A XOR B
P = 0 XOR 1 = 1The wire after the last gate is output X