L&T Technology Services Interview Question

Difference between diode and transistor.