ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
processor independent
|
|
computer-aided graphics
|
|
screen instructions
|
|
includes branches and loops
|
|
uses variables with sequences
|
Detailed explanation-1: -Characteristics. 3GLs are much more machine-independent and more programmer-friendly. This includes features like improved support for aggregate data types, and expressing concepts in a way that favors the programmer, not the computer.
Detailed explanation-2: -Third generation languages (3GLs). 3GLs are called procedural languages or high level languages.
Detailed explanation-3: -C is an example of a third generation compiled language. Another approach to executing a program is called interpretation. A program called an interpreter translates source directly by emulating a machine which has the source language as its machine code.
Detailed explanation-4: -Procedural programming languages A procedural language follows a sequence of statements or commands in order to achieve a desired output. Each series of steps is called a procedure, and a program written in one of these languages will have one or more procedures within it.