COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

SYSTEM SOFTWARE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is true for the compiler? .
A
A compiler does a conversion line by line as the program is run
B
A compiler converts the whole of a higher level program code into machine code in one step.
C
A compiler is general purpose language providing very efficient execution
D
All of the above
Explanation: 

Detailed explanation-1: -Statement 1 : A Compiler is a program that translates a high-level language program into a machine language program and then executes it, whereas an interpreter is a program that translates one statement of a high-level language program into machine code and then executes it.

Detailed explanation-2: -The correct answer is Compiler. It is a program that translates a source program written in some high-level programming language into machine code for some computer architecture. In simple language, it converts high-level language into machine language.

Detailed explanation-3: -3) Does the compiler program translate the whole source code in one step? Explanation: The compiler is that program which translates the whole high-level code into the machine code at once.

Detailed explanation-4: -The correct option is C Machine language. A compiler translates a program written in a high-level language into Machine language or that transforms computer code written in one programming language into another programming language.

There is 1 question to complete.