FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which type of major language translator executes a program directly?
A
Interpreter
B
Compiler
C
Either A or B
D
None of the above
Explanation: 

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.

There is 1 question to complete.