ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Before a computer can understand a program it must be ____
|
Translated into its machine code.
|
|
Translated into a high level language.
|
|
Translated into a low level language.
|
|
Converted into binary.
|
Explanation:
Detailed explanation-1: -Ultimately, the source code of every human-readable programming language must be translated to machine language by a compiler or an interpreter, because binary code is the only language that computer hardware can understand. Each CPU has its own specific machine language.
Detailed explanation-2: -A program that converts a high-level language source file into a machine-language file is called a compiler.
Detailed explanation-3: -A compiler is a special program that translates a programming languageās source code into machine code, bytecode or another programming language.
There is 1 question to complete.