ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
A High Level Language
|
|
A Low Level Language
|
|
Machine Code
|
|
An Algorithm
|
Detailed explanation-1: -No particular knowledge of the hardware is needed as high level languages create programs that are portable and not tied to a particular computer or microchip. These programmer friendly languages are called ‘high level’ as they are far removed from the machine code instructions understood by the computer.
Detailed explanation-2: -A very high level programming language is also known as a goal-oriented programming language.
Detailed explanation-3: -High-level languages require the use of a compiler or an interpreter for their translation into the machine code. Low-level language requires an assembler for directly translating the instructions of the machine language. Efficiency of Memory. These languages have a very low memory efficiency.