FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Define Compiler.
A
A program to convert assembly language programs into machine language.
B
A program that translates a high level language into machine language at once.
C
A program that translates a high level language into machine language and executes it line by line.
D
None of the above
Explanation: 

Detailed explanation-1: -A compiler is a special program that translates a programming language’s source code into machine code, bytecode or another programming language. The source code is typically written in a high-level, human-readable language such as Java or C++.

Detailed explanation-2: -A compiler is a translator program that converts a high-level language source program into a machine language object program.

Detailed explanation-3: -compiler, computer software that translates (compiles) source code written in a high-level language (e.g., C++) into a set of machine-language instructions that can be understood by a digital computer’s CPU.

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