Cognizant Interview Question

1: call by value ,call by reference 2: write program to swap two no's 3: what is diode,diff bw transistor,transducer,