EDUCATION (CBSE/UGC NET)

EDUCATION UGC NET

ICT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A computer program that translates a program statement by statement into machine languages is called a/an
A
Interpreter
B
Simulator
C
Translator
D
Compiler
Explanation: 

Detailed explanation-1: -A computer program that converts an entire program into machine language at one time is called Compiler. A Compiler is a computer program that translates code written in a high level language to a lower level language, object/machine code.

Detailed explanation-2: -An interpreter translates source code into object code one instruction at a time. It is similar to a human translator translating what a person says into another language, sentence by sentence. The resulting object code is then executed immediately. The process is called interpretation .

Detailed explanation-3: -Assembler: Assembler is a computer program which is used to translate program written in Assembly Language in to machine language. An assembler is a program that takes basic computer instructions and converts them into a pattern of bits that the computer’s processor can use to perform its basic operations.

Detailed explanation-4: -A compiler translates the entire source code in a single run. An interpreter translates the entire source code line by line. It consumes less time i.e., it is faster than an interpreter. It consumes much more time than the compiler i.e., it is slower than the compiler. It is more efficient.

There is 1 question to complete.