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 XOR B | AThe output X is 1 only when inputs A and B are different from each other | |
| 2A=0, B=1 gives X=1 | BX = 0 1 1 0 | |
| 3The XOR truth table output column for input rows 00, 01, 10, 11 (in that order) | CThe inputs are the same, so an XOR gate outputs 0, not 1. A 1 output for 1 and 1 belongs to an OR gate. | |
| 4XOR is an exclusive OR: it outputs 1 when exactly one input is 1, not when both are 1 | DThe last row (both inputs 1) should be 0, so the correct column is 0 1 1 0. The column 0 1 1 1 is the OR gate. | |
| 5A=1, B=1 gives X=1 for XOR | EX = A XOR B | |
| 6XOR truth table output: 0 1 1 1 | FXOR outputs 1 because the two inputs are different |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
X = A XOR B — The XOR (exclusive OR, or EOR) gate has two inputs and outputs 1 only when the inputs are different. Its truth table output is 0 1 1 0. Its symbol is the OR shape with an extra curve at the input.X = A XOR BX = A EOR BA = 1, B = 1, so X = 0A = 0, B = 1, so X = 1XOR output column: 0 1 1 0