COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Select all that applies in Abstraction?
A
is a problem solving tool
B
removes unimportant information
C
adds important information
D
simplifies a situation
E
focuses on what is important
Explanation: 

Detailed explanation-1: -Which among the following is an important use of abstract classes? Explanation: The abstract classes can be used to create a generic, extensible class library that can be used by other programmers.

Detailed explanation-2: -Explanation: It is to idealize the interface. In this way the programmer can use the programming features more efficiently and can code better. It can’t increase the program complexity, as the feature itself is made to hide it. Explanation: Abstraction applies to both.

Detailed explanation-3: -It reduces the complexity of viewing the things. Helps to increase security of an application or program as only important details are provided to the user. Avoids code duplication and increases reusability. Can change internal implementation of class independently without affecting the user.

There is 1 question to complete.