Exam Practice Questions
These questions are styled exactly like the ones in the real exam. Write your full answer before revealing the mark scheme. Truth table questions in particular reward method — show intermediate columns.
State the rule for an AND gate and give the output when A = 1 and B = 0.
Complete the truth table for an XOR gate with inputs A and B. State one way in which XOR differs from OR.
A | B | Q (A XOR B)
0 | 0 | ___
0 | 1 | ___
1 | 0 | ___
1 | 1 | ___
| A | B | Q (XOR) |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Explain what is meant by a "universal gate" and state one example.
A logic circuit has inputs A and B. Input A passes through a NOT gate to produce NOT A. NOT A and B are then fed into an OR gate to produce the output Q.
(a) Write the Boolean expression for Q. [1 mark]
(b) Complete the full truth table for Q, including an intermediate column for NOT A. [4 marks]
| A | B | NOT A | Q = (NOT A) OR B |
|---|---|---|---|
| 0 | 0 | 1 | 1 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 |
A logic circuit has three inputs: A, B and C. The circuit is described as: inputs A and B enter an AND gate to produce signal P. Input C passes through a NOT gate to produce NOT C. P and NOT C then enter an OR gate to produce the output Q.
(a) Write the Boolean expression for Q. [2 marks]
(b) Complete the truth table including intermediate columns for P and NOT C. [4 marks]
| A | B | C | P = A AND B | NOT C | Q |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 |
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 | 1 | 1 |
| 0 | 1 | 1 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 | 1 |
Evaluate the expression Q = NOT (A AND B) for all four input combinations. Identify which type of gate produces this output.
| A | B | A AND B | Q = NOT(A AND B) |
|---|---|---|---|
| 0 | 0 | 0 | 1 |
| 0 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 0 |