Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A shop alarm X rings when the window sensor (W = 1) or the door sensor (D = 1) is set off. It also rings when both are set off.
X when neither sensor is set off?OR gives 1 when at least one input is 1: X = A OR B, output column 0, 1, 1, 1. In a circuit, the output of one gate is an input of the next. Add a middle column for each gate's output and work from the inputs to the output.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.
Step 1. The expression. X = W OR D.
Step 2. The truth table.
| W D | X |
|---|---|
| 0 0 | 0 |
| 0 1 | 1 |
| 1 0 | 1 |
| 1 1 | 1 |
The alarm rings in rows.
Step 3. Neither sensor. 0 OR 0 = 0, so the alarm is silent.
Answer: (a) X = W OR D. (b) rows. (c) .
Log in to join the discussion.
Loading…