Answers were Sorted based on User's Feedback



what is data Abstraction? and give example..

Answer / md. muzahidul islam

defining types of data for a class.
e.g. a class named 'Person' may have data such as 'age',
'height' etc.

Is This Answer Correct ?    1 Yes 0 No

what is data Abstraction? and give example..

Answer / hegde

Abstraction is generally defined as 'the process of formulating generalised concepts by extracting common qualities from specific examples
-Blair et al, 1991

Abstraction is not a complement for encapsulation.

Encapsulation is information hiding.

Is This Answer Correct ?    1 Yes 0 No

what is data Abstraction? and give example..

Answer / ekta

data abstraction is act of representing essential features
without including background details or explaintation.
FOR EXAMPLE: SWITCH BOARD.. in this we only know that if we
press any switch any electric appliances start working but
we dont know the inner functionality of switch board like
its wire connection, line connection,and etc....

Is This Answer Correct ?    1 Yes 0 No

what is data Abstraction? and give example..

Answer / ramya

Abstraction is of the process of hiding unwanted details from the user.
For example, your program can make a call to the sort() function without knowing what algorithm the function actually uses to sort the given values.

Is This Answer Correct ?    1 Yes 0 No

what is data Abstraction? and give example..

Answer / sudhachandan banerjee

Data abstraction refers to, providing only essential information to the outside word and hiding their background details ie. to represent the needed information in program without presenting the details.

Data abstraction is a programming (and design) technique that relies on the separation of interface and implementation.

Let's take one real life example of a TV which you can turn on and off, change the channel, adjust the volume, and add external components such as speakers, VCRs, and DVD players BUT you do not know it's internal detail that is, you do not know how it receives signals over the air or through a cable, how it translates them, and finally displays them on the screen.

Thus we can say, a television clearly separates its internal implementation from its external interface and you can play with its interfaces like the power button, channel changer, and volume control without having zero knowledge of its internals.

Is This Answer Correct ?    1 Yes 0 No

what is data Abstraction? and give example..

Answer / ahsaan ansari

Data Abstraction refer to know the properties of data rather than that how properties are process.
In another word say "Data Abstraction Emphasis on What rather than How".

Is This Answer Correct ?    1 Yes 1 No

what is data Abstraction? and give example..

Answer / akshita.s

Abstraction is a OOP`s concept,it hides the implementation
details from the end user.we get loose coupling if there is
good abstraction.

Is This Answer Correct ?    1 Yes 1 No

what is data Abstraction? and give example..

Answer / tariq shadid

this style data representations and their associated primitive operations are
encapsulated in an abstract data type or object. The components of this style are
the objects—or, if you will, instances of the abstract data types. Objects are
examples of a sort of component we call a manager because it is responsible for
preserving the integrity of a resource (here the representation). Objects interact
through function and procedure invocations. Two important aspects of this
style are (a) that an object is responsible for preserving the integrity of its
representation (usually by maintaining some invariant over it), and (b) that
the representation is hidden from other objects.

Is This Answer Correct ?    1 Yes 1 No

what is data Abstraction? and give example..

Answer / kamal lochan jena.

It is process of creating a new data_type using encapsulated
items.
Ex: class Name
{
int age;
char Name[20];
public:
getdata();
putdata();
};

Here the class body contains the encapsuleted data items.

Is This Answer Correct ?    0 Yes 0 No

what is data Abstraction? and give example..

Answer / saranya

data abstraction is the process of representing the
essential features not including the background details.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is the benefit of encapsulation?

0 Answers  


What is setw manipulator in c++?

0 Answers  


What is virtual base class uses?

0 Answers  


What is function overriding in c++?

0 Answers  


When can I use a forward declaration?

0 Answers  






What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

0 Answers  


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

0 Answers  


What is an object in c++?

0 Answers  


How do you define a class in c++?

0 Answers  


What is the difference in size of this two clasees? Class A { int a; char c; float f; } Class B { float f; char c; int a; }

4 Answers  


class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4

4 Answers   Quark,


What are structures and unions?

0 Answers  


Categories