Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What do you mean by abstraction. Explain your answer?

Answers were Sorted based on User's Feedback



What do you mean by abstraction. Explain your answer?..

Answer / vishal parihar

In computer science, abstraction is the process by which
data and programs are defined with a representation similar
to its meaning (semantics), while hiding away the
implementation details. Abstraction tries to reduce and
factor out details so that the programmer can focus on a
few concepts at a time. A system can have several
abstraction layers whereby different meanings and amounts
of detail are exposed to the programmer. For example, low-
level abstraction layers expose details of the hardware
where the program is run, while high-level layers deal with
the business logic of the program.

The following English definition of abstraction helps to
understand how this term applies to computer science, IT
and objects:

abstraction - a concept or idea not associated with any
specific instance[1]
Abstraction captures only those details about an object
that are relevant to the current perspective. The concept
originated by analogy with abstraction in mathematics. The
mathematical technique of abstraction begins with
mathematical definitions, making it a more technical
approach than the general concept of abstraction in
philosophy. For example, in both computing and in
mathematics, numbers are concepts in the programming
languages, as founded in mathematics. Implementation
details depend on the hardware and software, but this is
not a restriction because the computing concept of number
is still based on the mathematical concept.

In computer programming, abstraction can apply to control
or to data: Control abstraction is the abstraction of
actions while data abstraction is that of data structures.

Control abstraction involves the use of subprograms and
related concepts control flows
Data abstraction allows handling data bits in meaningful
ways. For example, it is the basic motivation behind
datatype.
One can regard the notion of an object (from object-
oriented programming) as an attempt to combine abstractions
of data and code.

The same abstract definition can be used as a common
interface for a family of objects with different
implementations and behaviors but which share the same
meaning. The inheritance mechanism in object-oriented
programming can be used to define an abstract class as the
common interface.

The recommendation that programmers use abstractions
whenever suitable in order to avoid duplication (usually of
code) is known as the abstraction principle.

Is This Answer Correct ?    11 Yes 2 No

What do you mean by abstraction. Explain your answer?..

Answer / konda

abstraction is nothing but hiding the unwanted data

Is This Answer Correct ?    11 Yes 2 No

What do you mean by abstraction. Explain your answer?..

Answer / subhrajit

abstraction is the method of show the necessary data and
hide the unnecessary data.

Is This Answer Correct ?    6 Yes 1 No

What do you mean by abstraction. Explain your answer?..

Answer / sushant

Abstraction means hiding of unwanted data and showing important data. e.g. Color class is combination of Red, Green, Blue then it is represented as RGB. Its an abstraction.

Is This Answer Correct ?    5 Yes 1 No

What do you mean by abstraction. Explain your answer?..

Answer / prashant kuntal

Abstraction means to represent only essential information without including the background detail.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C++ General Interview Questions

What are the main differences between C and C++?

1 Answers  


What are the different types of comments allowed in c++?

0 Answers  


What is the difference between a type-specific template friend class and a general template friend class?

0 Answers  


What is the use of seekg in c++?

0 Answers  


What is the C-style character string?

0 Answers  


Evaluate !(1&&1||1&&0) a) Error b) False c) True

0 Answers  


Write a struct time where integer m, h, s are its members?

0 Answers  


If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

0 Answers  


Which operator can not be overloaded in C++?

1 Answers  


Explain the scope resolution operator?

2 Answers  


What is the use of volatile variable?

0 Answers  


What are the techniques you use for debugging?

1 Answers   Adtran,


Categories