FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which language translator is used after programmers finished writing the source code?
A
Assembler
B
Compiler
C
Interpreter
D
None of the above
Explanation: 

Detailed explanation-1: -A source-to-source translator, source-to-source compiler (S2S compiler), transcompiler, or transpiler is a type of translator that takes the source code of a program written in a programming language as its input and produces an equivalent source code in the same or a different programming language.

Detailed explanation-2: -Compilers translate an entire computer program into machine language before execution.

Detailed explanation-3: -Interpreter. Interpreter programs are able to read, translate and execute one statement at a time from a high-level language program. The interpreter stops when a line of code is reached that contains an error. Interpreters are often used during the development of a program.

Detailed explanation-4: -Generally, there are three types of translator: compilers. interpreters. assemblers.

Detailed explanation-5: -Compilers. A compiler takes the source code as a whole and translates it into object code all in one go. Once converted, the object code can be run unassisted at any time. This process is called compilation .

There is 1 question to complete.