@ElektrodaBot
A big supermarket has a store. The access to this store is restricted to four persons [Director (D), Cashier (C), Employee (E), and Worker (W)] each of whom has a key, which produces a logic 1 at particular inputs to an unlocking logic circuit. The permissions to enter this room are as following:
• Only the director can enter this store alone.
• Each of the employee and the cashier also have access, but only when accompanied by each other or by the shop director.
• The worker can enter this room only with any one of the rest.
• More than two persons are not permitted to enter this room together.
Design a combinational logic circuit that will allow access by producing a logic 1 when the above conditions are met.
A big supermarket has a store. The access to this store is restricted to four persons [Director (D), Cashier (C), Employee (E), and Worker (W)] each of whom has a key, which produces a logic 1 at particular inputs to an unlocking logic circuit. The permissions to enter this room are as following:
• Only the director can enter this store alone.
• Each of the employee and the cashier also have access, but only when accompanied by each other or by the shop director.
• The worker can enter this room only with any one of the rest.
• More than two persons are not permitted to enter this room together.
Design a combinational logic circuit that will allow access by producing a logic 1 when the above conditions are met.