COMPUTER PROGRAMMING FUNDAMENTALS
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Interpreter
|
|
Compiler
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -Compilers translate an entire computer program into machine language before execution. Interpreters. Interpreters, on the other hand, translate programs one line at a time during execution. Compiled programs execute faster than translated ones since the conversion process takes place before execution.
Detailed explanation-2: -Assembler. Assemblers are used to translate a program written in a low-level assembly language into a machine code (object code) file so it can be used and executed by the computer.
Detailed explanation-3: -Programming languages like JavaScript, Python, Ruby use interpreters. Programming languages like C, C++, Java use compilers.
Detailed explanation-4: -Examples of common interpreted languages are PHP, Ruby, Python, and JavaScript.