FUNDAMENTALS OF COMPUTER

APPLICATION SYSTEM SOFTWARE

SYSTEMS SOFTWARE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What reads the source code one instruction or line at a time, converts this line and then executes it?
A
Compiler
B
Interpreter
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -Role of Interpreter. The interpreter converts the source code line-by-line during RUN Time.

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: -A compiler is a translator program that converts a high-level language source program into a machine language object program. Figure 9-5. Compilers make high-level language programs transportable between different computers.

There is 1 question to complete.