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 are the rules for naming an identifier?

0 Answers  


What are the c++ access specifiers?

1 Answers  


write a program that reads in a file and counts the number of lines, words, and characters. Your program should ask the user to input a filename. Open the file and report an error if the file does not exist or cannot be opened for some other reason. Then read in the contents of the file and count the number of lines, words, and characters in the file. Also print additional information about the file, such as the longest and shortest words, and longest and shortest lines. For simplicity, we define a word to be one or more characters ending with white space (a space, tab, carriage return, etc.). Functions for checking the types of characters can be found in the ctype.h header file, so you want to include this header file in your program. For example, the sentence below could be all that is in a file. This sentence IT 104 is taught in C++. has 32 characters, one line, and six words. The shortest line is 32 characters. The longest line is 32 characters. The shortest word is 2 characters. The longest word is 6 characters

0 Answers  


What are the advantages and disadvantages of using inline and const?

2 Answers   Polaris, TCS, Zimmer Biomet,


How many different levels of pointers are there?

0 Answers   Genpact,


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

0 Answers  


what is the difference between overloading & overriding? give example.

0 Answers  


What is the purpose of templates in c++?

0 Answers  


What is a block in c++?

0 Answers  


What are exceptions c++?

0 Answers  


What issue do auto_ptr objects address?

2 Answers  


What are the implicit member functions of class?

0 Answers  


Categories