A plant controller has 2-bit sensor input 't' and 3-bit sensor input 'p'. The operating condition is normal when t is '1' or '3' and p is '6' or '7' and faulty otherwise. Design a circuit that displays '1' for normal and '2' for faulty in a seven segment display. A buzzer should sound if the output indicates 'faulty'.
7 segment display - common cathode,
AND gate - 2 fan in,
OR gate - 2 fan in,
LED == Buzzer