ITC Interview Question

PLC ladder logic etc.