Question: is diode linear or nonlinear?
Answer: A nonlinear device is a device which does not have a linear input/output relation. In a diode, for example, the current is a non-linear function of the voltage.