COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A language that requires no knowledge of the hardware or the instruction set of the computer is called ____
A
A High Level Language
B
A Low Level Language
C
Machine Code
D
An Algorithm
Explanation: 

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.

There is 1 question to complete.