MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ORGANIZATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Program is translated line by line as the program is running
A
Assembler
B
Compiler
C
Interpreter
D
None of the above
Explanation: 

Detailed explanation-1: -Interpreters An interpreter translates high-level languages into machine code line-by-line. Interpreters have procedures that can be used to translate each kind of program instruction. Rather than checking for errors before translation begins (as a compiler does), interpreters check for errors as they go.

Detailed explanation-2: -Difference between Interpreter & Compiler An Interpreter translates line by line, executes the instruction and then repeats the procedure for the remaining instructions. A Compiler translates the whole program at once.

Detailed explanation-3: -Interpreted Languages Interpreters run through a program line by line and execute each command.

There is 1 question to complete.