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 AND B) OR C | AThe gates are swapped. The bracket contains AND, so A and B go into an AND gate first, and the OR gate comes last with C. | |
| 2X = NOT (A OR B) | BDraw an AND gate for A and B first, then feed its output and C into a final OR gate that gives X | |
| 3Draw one gate for each operator, so an expression with two operators needs two gates joined by a wire | CDraw an OR gate for A and B, then pass its output through a NOT gate to give X | |
| 4A NOT applied to a single input is drawn as a NOT gate on that input before it reaches the next gate | DThe OR in the bracket was left out. Every operator needs its own gate, so A and B must go into an OR gate whose output feeds the AND gate with C. | |
| 5For X = (A AND B) OR C, drawing an OR gate for A and B, then an AND gate with C | EX = (A OR B) AND C | |
| 6For X = (A OR B) AND C, drawing one AND gate with the inputs A, B and C and no OR gate | FX = (NOT A) AND B |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
X = (A AND B) OR C — Draw one gate per operator: the bracket (A AND B) becomes an AND gate first, and its output feeds the final OR gate along with C to give X.X = (A AND B) OR C
Gate 1 (bracket): AND gate, inputs A and B
Gate 2: OR gate, inputs Gate 1 and CX = (A OR B) AND C
Gate 1: OR gate, inputs A and B
Gate 2: AND gate, inputs Gate 1 and CX = (NOT A) AND B
Gate 1: NOT gate, input A
Gate 2: AND gate, inputs Gate 1 and BX = (A AND B) OR (B AND C)
One gate per operator, so gates needed: 3X = (A OR B) AND C
Gate 1 output and C feed the AND gate
The AND gate output is labelled X