i compiler and interpreter these are two types of


(i) Compiler and Interpreter: These are two types of language translators.

A compiler changes the source program (user-written program) into an object code (machine language by checking the whole program before implementation. If the program is error free, object program is formed and loaded into memory for execution. A compiler produces an error list of the program in one go and all have to be taken care even before the implementation of first statement begin. It takes less time for implementation.

 An interpreter is also a language translator that translates and implements statements in the program one by one. It work on single statement at a time and if error free, implements the instruction before going to second instruction. Debugging is easier in interpreter as it is done in stages. An interpreter takes more time for implentation of a program as compared to a compiler.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: i compiler and interpreter these are two types of
Reference No:- TGS0275482

Expected delivery within 24 Hours