in Education by
Explain various transalator used in high level language? also in very short Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Answer: 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. Explanation: Purpose of Translator It translates high-level language program into a machine language program that the central processing unit (CPU) can understand. It also detects errors in the program. Different Types of 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.

Related questions

0 votes
    explain the different types of high level language for class 5 short answer Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    ______ is a high level language used for writing codes for the computer program Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    ______ is a high level language used for writing quotes for the computer program Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    ______ is a high level language used for writing quotes for the computer program Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Symbol used in assembly language are known as high level language true or false Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    how are the programs written in high-level language converted into machine language? Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    high level language are translated into machine language with the help of_ or _ Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    high level language are translated into machine language with the help of Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    complier translate a program written in a high-level language to a ———— language. Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Differentiate High-level language, Assembly language, and Machine level language? Select the correct answer from above options...
asked Dec 11, 2021 in Education by JackTerrance
0 votes
    Multiple Choice Questions 1. Visual Basic is a (a) low-level programming language. (b) medium-level (c) high- ... files of a project. Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    Que. The term Operation system means (a) A Set of programs which controls computer working. (b) The way ... disk drive operates. Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    what is different between low level language and high level language? for class 5 short answer Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    Explain why binary language is also known as machine level language and why is it required ? Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    explain two type of low level language ? for class 5 short answer Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
...