How many types of language processor ?
Answers
Answer:
Language Processor
Explanation:
Language Processor is a software program designed or used to perform tasks such as processing program code to machine code. Language processor are found in languages such as Fortran and COBOL.
Two Type of Language Processor
1) Interpreter - it allow a computer to interpret or understand what a software program needs the computer to do , what task to perform.
2) Translator - take a program code and translates it into machine code, allowing the computer to read and understand what task the program needs to be done in its native code .
Example of translator : - is Assembler and Compiler
What is a language processor?
◇A language processor is a special type of computer software that has the capability to translate the source code or program codes into machine codes.
The following are the different types of language processors:-
•Compiler
•Assembler
•Interpreter
●Compiler:
A compiler is a language processor which translate source code from high level language into binary machine code .
●Assembler:
An assembler translates from a low level language to binary machine code.
●Interpreter:
An interpreter is different from compiler and assembler . It does not convert program into machine code format instead it directs the CPU to obey each program statement .