MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SYSTEM SOFTWARE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Fill in the blank. ____ the whole program one statement at a time.
A
Compilers
B
Interpreters
C
Translators
D
None of the above
Explanation: 

Detailed explanation-1: -An interpreter translates just one statement of the program at a time into machine code. A compiler takes a long time to evaluate the source code, however, the overall time taken to execute the process is faster.

Detailed explanation-2: -Interpreter translates just one statement of the program at a time into machine code. Compiler scans the entire program and translates the whole of it into machine code at once. An interpreter takes very less time to analyze the source code. However, the overall time to execute the process is much slower.

Detailed explanation-3: -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.

Detailed explanation-4: -An interpreter is a person whose job is to translate what someone is saying into another language.

There is 1 question to complete.