In the figure we have the configuration of a logic switch with the TTL 7400 circuit. The corresponding logic function is given next to the diagram.