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 = NOT A | AThe output X is the opposite of input A: when A is 0, X is 1, and when A is 1, X is 0. | |
| 2A = 1, X = NOT A, so X = 0 | BA | X 0 | 1 1 | 0 | |
| 3A NOT gate has only one input, so its two-row truth table lists just A = 0 and A = 1 with the output X in the next column. | CA NOT gate turns an input of 1 into an output of 0. | |
| 4The NOT gate is drawn as a triangle with a small circle on its output. It is also called an inverter because it inverts the input. | DThe output X is copied from the input A. A NOT gate should output the opposite, so 0 gives 1 and 1 gives 0. | |
| 5A | X 0 | 0 1 | 1 | EA --|>o-- X | |
| 6X = NOT (A, B) | FNOT has only one input, so it cannot be applied to two inputs A and B at once. It should be X = NOT A. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
NOT — A logic gate with one input that outputs the opposite value: 0 becomes 1 and 1 becomes 0. It is drawn as a triangle with a small circle and written X = NOT A.X = NOT AX = NOT AA X
0 1
1 0A X
0 1
1 0NOT gate: 1 input, 1 output