COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Compiler
|
|
Interpreter
|
|
Assembler
|
|
Executor
|
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. Examples of interpreted languages are JavaScript, Python, Perl, etc.
Detailed explanation-2: -A compiler translates the entire program written in a high-level language to machine language prior to execution. An interpreter translates a program line by line during execution.
Detailed explanation-3: -A compiler is a translator program that converts a high-level language source program into a machine language object program.
Detailed explanation-4: -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-5: -A Compiler takes a program as a whole. An Interpreter takes single lines of a code. Output. The Compilers generate intermediate machine codes. The Interpreters never generate any intermediate machine codes.