Aptiv Interview Question

Design a circuitry for some output and input for different types, inductive load or resistor load.