TATA ELXSI Interview Question

Basic electronics questions : 1) How to generate square wave? 2) Transistor Basic. 3) C Basic.