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 | AA gate gives a single output, not two. It also takes only one or two inputs, not three. | |
| 2X = A AND B | BGate inputs and outputs can only be binary values 0 or 1, so 2 and 3 are not valid. | |
| 3A logic gate takes binary inputs, which can only be 0 or 1, and gives one output that is also 0 or 1. | C1 OR 0 = 1 | |
| 4A gate follows a fixed rule, so the same inputs always give the same output. | DA gate with two inputs A and B and one output X. The output is 1 only when both inputs are 1. | |
| 5A = 2, B = 1, X = 3 | EA = 1, B = 0, X = 1 | |
| 6A, B, C -> gate -> X, Y | FA gate with one input A and one output X. The output is always the opposite binary value of the input. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
logic gate — An electronic component that takes one or two binary inputs (0 or 1) and gives one binary output (0 or 1) by a fixed rule. Processors are built from many gates.X = A AND BX = NOT AInputs: A = 1, B = 0
Gate: AND
Output: X = 0A gate input can only be 0 or 1Inputs: A and B
Output: X
X = A OR B