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 brackets are missing, so it is unclear which gate comes first. An AND gate feeding an OR gate with C should be written X = (A AND B) OR C. | |
| 2X = (A OR B) AND (B NOT C) | BAn AND gate takes A and B. Its output goes into an OR gate with C. The OR gate is the final gate that gives X. | |
| 3Each earlier gate's expression goes in brackets as an input to the next gate | CX = (A OR B) AND C | |
| 4The final gate in the circuit is the outermost operator in the expression | DNot valid | |
| 5X = A AND B OR C | Eplaceholder | |
| 6X = (A AND B) OR (C NOR A) | FX = NOT (A AND B) OR C |
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 — Write each gate's expression from left to right, putting each earlier gate in brackets as an input to the next gate. The final gate is the outermost operator.X = (A AND B) OR CP = A AND B
X = P OR CX = (A OR B) AND NOT CX = (A AND B) OR (B AND C)P = A OR B
Q = NOT C
X = P AND Q