What are translator and its type
Answers
Answered by
0
Explanation:
A translator is a programming language processor that converts a computer program from one language to another. It takes a program written in source code and converts it into machine code. It discovers and identifies the error during translation.
Answered by
0
A translator of language processor converts the Source code into object code. There are three types of translators:
1) Compiler (Source Code- Input- Compiler- Output- Object Code)
2) Interpreter (Source Code- Input- Interpreter- Output- Object Code)
3) ASSESMBLER (Source Code- Input- Assembler- Output- Object Code)
The compiler translates the whole program at once when all of the syntax errors are removed.
The Interpreter translates the program line by line.
The assembler translates the program from mnemonic Code to machine language.
Thank you
1) Compiler (Source Code- Input- Compiler- Output- Object Code)
2) Interpreter (Source Code- Input- Interpreter- Output- Object Code)
3) ASSESMBLER (Source Code- Input- Assembler- Output- Object Code)
The compiler translates the whole program at once when all of the syntax errors are removed.
The Interpreter translates the program line by line.
The assembler translates the program from mnemonic Code to machine language.
Thank you
Similar questions