What is the difference between diode and transistor?
 The difference between diode and transistor are a diode is a type of electrical device that allows the current to move through it in only one direction. A transistor is a triode that exists in two forms – either in an n type semiconductor sandwiched between two p type semiconductors, or in a p type semiconductor sandwiched between two n type semiconductors. diode is a bipolar device and transister is a three terminal device. The diode is a semiconductor device which allows the current to flow only in one direction, whereas the transistor transfers the resistance from the low resistance region to high resistance region. 