FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A compiler is a program that translates a high level language into machine code
A
False
B
True
C
Either A or B
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 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.

Detailed explanation-3: -It converts a high-level language program into machine language line by line as well as executes it. If there is any error in the program, translation and execution stops and the error is reported for debugging.

Detailed explanation-4: -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-5: -A compiler is a translator program that converts a high-level language source program into a machine language object program.

There is 1 question to complete.