COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Compiler is a program that takes source program as input and produce ____ as output.
A
machine code
B
object code
C
assembly code
D
none of the above
Explanation: 

Detailed explanation-1: -The compiler creates an output called the object code, a binary code that is read by the target computer’s processor. Some compilers translate the source into bytecode, which is an intermediate language that must then be interpreted into instructions the intended processor can execute.

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

There is 1 question to complete.