The diagram shows three logic gates.
Name each gate. [3]
- Gate 1: AND(1)
- Gate 2: OR(1)
- Gate 3: NOT(1)
- Answer: AND, OR, NOT
- Examiner tip: The NOT gate is the triangle with a small circle on its output.
Answer on paper first, then reveal the mark scheme one mark at a time.
The diagram shows three logic gates.
Name each gate. [3]
Complete the truth table for Q = NOT (A AND B).
| A | B | Q |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
[2]
Look at the logic circuit.
(a) Write the Boolean expression for output P. [2]
(b) State the value of P when A = 1, B = 0, C = 0. [1]
(c) State the value of P when A = 0, B = 1, C = 1. [1]
Complete the truth table for Q = (A OR B) AND NOT C.
| A | B | C | A OR B | NOT C | Q |
|---|---|---|---|---|---|
| 0 | 0 | 0 | |||
| 0 | 0 | 1 | |||
| 0 | 1 | 0 | |||
| 0 | 1 | 1 | |||
| 1 | 0 | 0 | |||
| 1 | 0 | 1 | |||
| 1 | 1 | 0 | |||
| 1 | 1 | 1 |
[4]
Describe how a logic circuit for X = (NOT (A OR B)) AND C would be drawn. You should name each gate and its inputs. [3]
An alarm (S) sounds if the door is open (D) and the system is armed (A), or if the panic button (P) is pressed.
(a) Write a Boolean expression for S. [3]
(b) State whether the alarm sounds when D = 1, A = 0, P = 0. [1]
(c) There are 8 possible combinations of D, A and P. State how many of these make the alarm sound. [1]
Book a free introductory session and we'll find exactly which step is costing you.