Show A-Level Translators Resources (16-18 years)
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. Purpose of TranslatorIt translates a 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 TranslatorsThere are 3 different types of translators as follows: CompilerA 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. The 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. InterpreterJust 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. AssemblerAn 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. Examples of TranslatorsHere are some examples of translators per type:
Advantages and Disadvantages of TranslatorsHere are some advantages of the Compiler:
Here are some disadvantages of the Compiler:
Here are some advantages of the Interpreter:
Here are some disadvantages of the Interpreter:
Here are some advantages of the Assembler:
Here are some disadvantages of the Assembler:
Further Readings:
Is translator a system software?A translator is a programming language processor that modifies a computer program from one language to another. It takes a program written in the source program and modifies it into a machine program. It can find and detect the error during translation.
What is a translate software?Translation software refers to any application that supports human translators throughout the process of transferring text from one language to another. It's designed to improve speed and quality through automation and terminology management. Translation software comes in both desktop and cloud versions.
|