COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

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: -The correct answer is Interpreter. A computer program that translates one program’s instructions at a time into machine language is called an Interpreter. An interpreter translates one instruction at a time and executes that instruction immediately.

Detailed explanation-2: -A compiler is a special program that translates a programming language’s source code into machine code, bytecode or another programming language. The source code is typically written in a high-level, human-readable language such as Java or C++.

Detailed explanation-3: -Interpreters usually have an efficient memory capacity that can allow them to store high volumes of data without external memory sources. Interpreters can also typically analyze source code quickly, as they read batches of code one line at a time.

Detailed explanation-4: -The language processor that reads the complete source program written in high-level language as a whole in one go and translates it into an equivalent program in machine language is called a Compiler.

Detailed explanation-5: -The correct answer is Compiler. A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file).

There is 1 question to complete.