Skip to main content

Posts

Showing posts with the label Explain Difference Between Compiler and Interpreter

Explain Difference Between Compiler and Interpreter

Difference between Compiler and Interpreter The Compiler and Interpreter are the two main types of Language Translator or Language Processor Explain some important differences between Compiler and Interpreter or Differentiate between Interpreter and Compiler Compiler                                    Interpreter                              1.    Compiler   converts   a   source program   into machine code as a whole.                                 1.  Interpreter    converts    a    source program    into machine code one statement at a time.            2. Compiler after translating whole source program, creates object code file, that can be executed.   2. Interpreter does not create object code file. It only creates executable code for only one statement currently interpreted, which is executed. Next time second statement is translated and executed and so on. No object file is created. 3. Program execution is fast. Since once program is compiled