COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Interpreters translate source code line by line .
A
True
B
False
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. Interpret completely translates a program written in a high-level language into machine level language. Interpreter allows evaluation and modification of the program while it is executing.

Detailed explanation-2: -An interpreter is also a software program that translates a source code into a machine language. However, an interpreter converts high-level programming language into machine language line-by-line while interpreting and running the program.

Detailed explanation-3: -Role of an interpreter It translates program statements, line by line, into machine code. It allows modification of the program during execution. Relatively lesser time is consumed for analysis since it runs line by line. Program execution is relatively slow as analysis takes place every time the program is run.

Detailed explanation-4: -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-5: -The Interpreter translates a program written in a High-level language into machine-understandable code one line at a time during the execution of the program. There is no intermediate code generated during the conversion of the program to machine understandable code.

There is 1 question to complete.