COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The widely used abstraction mechanisms in software design are-
A
Functional Abstraction
B
Data Abstraction
C
Control Abstraction
D
Procedure Abstraction
Explanation: 

Detailed explanation-1: -Control abstraction mechanisms are used in Operating Systems. In an operating system semaphore is used to synchronize activities of different processes. Another example of control abstraction is Divide and Conquer technique.

Detailed explanation-2: -Abstract: Control abstraction is the process by which programmers define new control constructs, specifying a statement ordering separately from an implementation of that ordering. It is argued that control abstraction can and should play a central role in parallel programming.

Detailed explanation-3: -There are three types of abstract: descriptive, informative and critical.

Detailed explanation-4: -Abstraction can be of two types, namely, data abstraction and control abstraction. Data abstraction means hiding the details about the data and control abstraction means hiding the implementation details. In object-oriented approach, one can abstract both data and functions.

There is 1 question to complete.