what is data Abstraction? and give example
Answer Posted / sayed waseem tutorails phd fro
Data abstraction is any device that allows you to treat data
as humans encounter it rather than as it is stored on machine.
At the lowest level, all primitive data types are
abstractions -- as programmers, we don't usually have to
deal with data at the bit level (which is how it is
ultimately stored) but as integers, floating point numbers,
characters, etc.
We then add layers onto that abstraction -- maybe two
integers represents a Point, or we and enumerations to
represent the months of the year, days of the week, etc.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can a program run without main?
the maximum length of a character constant can be a) 2 b) 1 c) 8
Write a program to find the Factorial of a number
Can malloc be used in c++?
What are the advantages of c++ over c?
Write about the members that a derived class can add?
Explain this pointer?
What does flush do?
List the merits and demerits of declaring a nested class in C++?
What are destructors?
Does there exist any other function which can be used to convert an integer or a float to a string?
What is the difference between the functions rand(), random(), srand() and randomize()?
How can we read/write Structures from/to data files?
Explain register storage specifier.
What is the standard template library (stl)?