COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Approach to program design that identifies how objects must interact with each other in order to solve problems
A
Console
B
Object-Oriented Design (OOD)
C
Portable or platform-independent
D
Windowed
Explanation: 

Detailed explanation-1: -In the object-oriented approach, the focus is on capturing the structure and behavior of information systems into small modules that combines both data and process. The main aim of Object Oriented Design (OOD) is to improve the quality and productivity of system analysis and design by making it more usable.

Detailed explanation-2: -The object-oriented problem solving approach, in general, can be devided into four steps. They are: (1) Identify the problem, (2) Identify the objects needed for the solution, (3) Identify messages to be sent to the objects, and (4) Create a sequence of messages to the objects that solve the problem.

Detailed explanation-3: -Object-oriented programming, or OOP, is an approach to problem solving where all computations are carried out using objects. An object is a component of a program that knows how to perform certain actions and how to interact with other elements of the program.

Detailed explanation-4: -Briefly describe 3 approaches that may be used to identify object classes? Use a grammatical approach based on a natural language description of the system. Use a behavioural approach and identify objects based on what participates in what behaviour. Use a scenario-based analysis.

There is 1 question to complete.