FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which language translator does not convert source code into machine code?
A
Code Translation
B
Compiler
C
Interpreter
D
None of the above
Explanation: 

Detailed explanation-1: -An Interpreter directly executes instructions written in a programming or scripting language without previously converting them to an object code or machine code. Interpreted languages are Perl, Python, and Matlab.

Detailed explanation-2: -Compilers are a type of translator that support digital devices, primarily computers. The name compiler is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language, object code, or machine code) to create an executable program.

Detailed explanation-3: -Compilers. A compiler takes the source code as a whole and translates it into machine code all in one go. Once converted, the object code can be run unassisted at any time. This process is called compilation .

Detailed explanation-4: -Programming languages like JavaScript, Python, Ruby use interpreters. Programming languages like C, C++, Java use compilers.

There is 1 question to complete.