Computer Science, asked by taur70k, 5 months ago

What is Language translator Define 3 type of language translator.​

Answers

Answered by shivaramcvm
15

Translator. Language translator is a program which is used to translate instructions that are written in the source code to object code i.e. from high-level language or assembly language into machine language. There are 3 types of language translators.

There are 3 different types of translators as follows:

Compiler

A compiler is a translator used to convert high-level programming language to low-level programming language.  It converts the whole program in one session and reports errors detected after the conversion.  Compiler takes time to do its work as it translates high-level code to lower-level code all at once and then saves it to memory.

A compiler is processor-dependent and platform-dependent.  But it has been addressed by a special compiler, a cross-compiler and a source-to-source compiler.  Before choosing a compiler, user has to identify first the Instruction Set Architecture (ISA), the operating system (OS) and the programming language that will be used to ensure that it will be compatible.

Interpreter

Just like a compiler, is a translator used to convert high-level programming language to low-level programming language.  It converts the program one at a time and reports errors detected at once, while doing the conversion.  With this, it is easier to detect errors than in a compiler.  An interpreter is faster than a compiler as it immediately executes the code upon reading the code.

It is often used as a debugging tool for software development as it can execute a single line of code at a time.  An interpreter is also more portable than a compiler as it is not processor-dependent, you can work between hardware architectures.

Assembler

An assembler is is a translator used to translate assembly language to machine language.  It is like a compiler for the assembly language but interactive like an interpreter.  Assembly language is difficult to understand as it is a low-level programming language.  An assembler translates a low-level language, an assembly language to an even lower-level language, which is the machine code.  The machine code can be directly understood by the CPU.

pls mark as brainlist...

Answered by iamvasundhara
9

Answer:

Language translator is a program which is used to translate instructions that are written in the source code to object code i.e. from high-level language or assembly language into machine language. There are 3 types of language translators.

hope it helps!

if it satisfied your answer please mark as brainlist.

please please please please please please please..............

Similar questions