Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A garage door opens only if the master switch A is on and at least one of two remote controls, B or C, sends a signal: X = A AND (B OR C). Set out all eight input patterns with a working column P = B OR C.
Three inputs give 8 rows, from 0 0 0 to 1 1 1 in binary order. Add a working column for each inner gate, then the output column. Check a row or two by hand.
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 table.
| A B C | P | X |
|---|---|---|
| 0 0 0 | 0 | 0 |
| 0 0 1 | 1 | 0 |
| 0 1 0 | 1 | 0 |
| 0 1 1 | 1 | 0 |
| 1 0 0 | 0 | 0 |
| 1 0 1 | 1 | 1 |
| 1 1 0 | 1 | 1 |
| 1 1 1 | 1 | 1 |
Step 2. Count. X = 1 in rows: 1 0 1, 1 1 0 and 1 1 1.
Step 3. The row 0 1 1. P = 1 but A = 0, so X = .
Answer: (a) . (b) .
Log in to join the discussion.
Loading…