Hitachi Energy Interview Question

They asked about diode and transistor