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


Please Help Members By Posting Answers For Below Questions

What is endianness?

624


what you know about c++?

665


What is meant by forward referencing and when should it be used?

560


How we can differentiate between a pre and post increment operators during overloading?

600


Can c++ be faster than c?

604






Explain how to initialize a const data member.

598


Write a program which employs Recursion

735


What is the full form of stl in c++?

680


Describe public access specifiers?

587


Which programming language's unsatisfactory performance led to the discovery of c++?

810


Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list

616


Difference between pointer to constant vs. Pointer constant

585


What is the difference between #define debug 0 and #undef debug?

643


Is dev c++ a good compiler?

526


Is it possible to have a recursive inline function in c++?

558