Thursday, February 14, 2013

Ques-6: What is a Compiler & Interpreter?

The ques-6 solution is given below.


Answer:

Compiler:  A  compiler is a computer program that transforms human readable source code into a machine readable code that a CPU can execute.

The act of transforming source code into machine code is called  " Compilation".





Interpreter:  An interpreter is a computer program that takes a line of code, translates and executes it into machine code and then goes on to the next line.


The act of transforming source code line by line into machine code is called " Interpretation".

No comments:

Post a Comment