Importance of compiler over interpreter and assembler with proper justification:
2019-10-10 03:36:05 - Faseeh Iftikhar
The language processor that reads the complete source program written in high level language as a whole in one go and translates it into an equivalent program in machine language is called as a Compiler.
Example:-
C, C++, Java, C#, etc.
Assembler
The Assembler is used to translate the program written in Assembly language into machine code. The source program is a input of assembler that contains assembly language instructions. The output generated by assembler is the object code or machine code understandable by the computer.
Interpreter
The translation of single statement of source program into machine code is done by language processor and executes it immediately before moving on to the next line is called an interpreter.
Example:-
Perl, Python and Matlab.
Difference between Compiler , Assembler and Interpreter
The main difference between compiler interpreter and assembler is that compiler converts the whole high level language program to machine language at a time while interpreter converts high level language program to machine language line by line and assembler converts assembly language program to machine language.
Download: Importance of compiler over interpreter and assembler with proper justification: _ 0.docx