ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Machine
|
|
Interpreted
|
|
Compiled
|
|
Assembly
|
Detailed explanation-1: -Compiled languages are translated in batches, whereas interpreted languages are translated entirely before use. Both compiled and interpreted languages are translated entirely before use. Interpreted languages usually execute faster than compiled languages.
Detailed explanation-2: -A computer program that converts an entire program into machine language at one time is called Compiler. A Compiler is a computer program that translates code written in a high level language to a lower level language, object/machine code.
Detailed explanation-3: -1952: Alick Glennie developed Autocode, which some consider to be the first compiled computer programming language. This means it could be translated directly into machine code.
Detailed explanation-4: -A high level language to machine code can be done by interpreter coding.