MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SYSTEM 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: -In computer science, an interpreter is a computer program that directly executes instructions written in a programming or scripting language, without requiring them previously to have been compiled into a machine language program.

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.