Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
A lift moves (X = 1) when its door is shut (S = 1) and a button is pressed. The button can be inside the lift (B = 1) or on a floor (C = 1).
Give each condition a letter and say what 1 means. and is AND, or is OR, not is NOT, but not both is XOR, neither nor is NOR. From a truth table: one AND term for each row with X = 1 (an input that is 0 gets NOT), joined by OR. Any expression with the same table is correct.
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. The two buttons form one group joined by OR. The door joins by AND: X = S AND (B OR C).
Step 2. The gates. One OR and one AND: gates.
Step 3. The rows. S = 1 and at least one button: 1 0 1, 1 1 0, 1 1 1. That is rows.
Answer: (a) X = S AND (B OR C). (b) . (c) .
Log in to join the discussion.
Loading…