Follow the cabinet warning from three inputs to one output
The exhibit cabinet uses three Boolean inputs: A means the door is open, B means nearby movement is detected, and C means the system is armed. A value of 1 means that condition is true. Q = 1 means the warning is active.
The required rule is: an open door always activates the warning; nearby movement activates it only while the system is armed. First combine B and C with AND. Name this intermediate output X. Then combine A and X with OR to produce Q.
An intermediate signal is the output of one gate used as an input to another. Here the full route is X = B AND C, followed by Q = A OR X. The A wire goes directly to OR; it does not pass through the AND gate.
Calculate a gate only after its inputs are known
Use A = 1, B = 1 and C = 0. The three inputs are known, but X and Q have not been calculated yet. Do not enter zero for an intermediate just because its box is blank.
AND can be evaluated now because B and C are known. B AND C is 1 AND 0, so X becomes 0. The final OR now has both inputs: A is 1 and X is 0. Therefore Q becomes 1.
Read dependencies, not the largest symbol or the gate nearest the page edge. This sequence explains the logic; it is not a measurement of the time an electrical signal takes to travel.
| Gate evaluated | Input signals used | New output |
|---|---|---|
| AND | B = 1, C = 0 | X = 0 |
| OR | A = 1, X = 0 | Q = 1 |
Keep the input row and its intermediate values together
For the worked row 110, the order of the digits is A, B, C. Write X = 0 and Q = 1 in that same row. The result means: the unarmed system still warns because the door is open.
Now consider a separate situation, 010. A changes to 0 while B stays 1 and C stays 0. Clear the calculated outputs for this new row, then calculate X = 1 AND 0 = 0 and Q = 0 OR 0 = 0. Do not carry the preceding row's Q = 1 into this one.
| A | B | C | X = B AND C | Q = A OR X |
|---|---|---|---|---|
| 1 | 1 | 0 | 0 | 1 |
| 0 | 1 | 0 | 0 | 0 |
Complete all eight situations without skipping the intermediate column
Three Boolean inputs produce eight different combinations. Use A, B, C consistently from 000 to 111. In each row, calculate X from that row's B and C, then Q from that row's A and X.
When A = 0, the warning follows X: only movement while armed activates it. When A = 1, every row produces Q = 1, because the door condition alone meets the stated requirement. Use these patterns to check the completed table, not to replace the individual calculations.
| A | B | C | X = B AND C | Q = A OR X |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 |
Continue with your exam board
The course combines lesson videos, interactive activities, topic questions and original exam mocks. Sign in to use the learning tools and save your progress; your account’s course access applies.
Independent learning resources. Not endorsed by AQA or OCR. These public introductions complement the full course and the official specification.