Competency: Application
In one car's wiring, the door switch gives while the driver's door is open and when it is shut. The key switch gives while the key is in the ignition lock and when it has been taken out. A chime must sound () when the driver's door is open while the key is still in the lock, so that the driver does not lock the key inside. (Hypothetical data.)
(a) Write as a Boolean expression in and .
(b) Show with a truth table that a single two-input gate gives directly, and name the gate.
(c) In a later model, the key switch is changed so that while the key is in the lock and when it is out; the door switch is unchanged. Write the new expression for , and show that the gate named in (b) can still be used if one of its inputs first passes through a NOT gate. Which input?
