COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Interpreter
|
|
Assembler
|
|
Compiler
|
|
Application
|
Detailed explanation-1: -interpreter. Anne decides to learn Javascript. This language translates a number of program instructions, waits for the computer to execute them and then translates the next series until the program is fully executed.
Detailed explanation-2: -Detailed Solution. 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-3: -A compiler is a program that reads a high-level program and translates it all at once, before executing any of the commands. Often you compile the program as a separate step, and then execute the compiled code later.
Detailed explanation-4: -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.
Detailed explanation-5: -Interpreter translates line by line and reports the error once it encountered during the translation process. It directly executes the operations specified in the source program when the input is given by the user. It gives better error diagnostics than a compiler.