COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Translates source code into machine code one line at a time.
A
Compiler
B
Interpreter
C
Editor
D
Assembler
Explanation: 

Detailed explanation-1: -The correct answer is Compiler. A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file).

Detailed explanation-2: -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-3: -The correct answer is Compiler. Compiler-A compiler is a special program that processes statements written in a particular programming language and turns them into machine language or “code” that a computer’s processor uses.

Detailed explanation-4: -An interpreter is a computer program, which converts each high-level program statement into the machine code. This includes source code, pre-compiled code, and scripts. Both compiler and interpreters do the same job which is converting higher level programming language to machine code.

Detailed explanation-5: -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.

There is 1 question to complete.