Compiler and Interpreter
C ompiler translate high level programming language into machine level language so as computer can understand these language and performs the instruction given. It translates whole source code at once into object code. Compiler are only used in those programming language for which it is been designed.` Features It translates the whole source program into object code It saves times for the program to covert into machine language. Program can be compiled for one time and run for any time. I nterpreter is a translator which translates high level programming language into machine language. Each line of the programming language are translated with interpreter. It may take more time to write the code of the program but run efficiently. Features Translates source code into intermediate form It is time consumming Debugging time is saved