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 OR B | AAn OR gate outputs 1 when at least one input is 1, so A=1 and B=0 gives X = 1, not 0. | |
| 2A=0, B=0 -> X = 0 | BThe output X is 1 when A is 1, when B is 1, or when both are 1. | |
| 3The truth table output column for an OR gate with inputs 00, 01, 10, 11 in order | CX = A OR B | |
| 4The OR gate has two inputs called A and B and one output called X | DThe only input row where an OR gate outputs 0, because neither input is 1. | |
| 5A=1, B=0 -> X = 0 (OR gate) | E0 0 0 1 is the output column for AND. The OR gate output column is 0 1 1 1. | |
| 6OR truth table output: 0 0 0 1 | F0 1 1 1 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
X = A OR B — The OR gate has two inputs, A and B. Its output X is 1 when at least one input is 1, and 0 only when both are 0. Its truth table output column is 0 1 1 1.X = A OR BX = A OR BA = 1, B = 0 -> X = 1A = 0, B = 0 -> X = 0OR truth table X column: 0 1 1 1