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
Write a program to interchange 2 variables without using the third one.
Comment on local and global scope of a variable.
Explain function overloading
What is the use of string in c++?
Mention the purpose of istream class?
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).
What is c++ prototype?
Evaulate: 22%5 a) 2 b) 4 c) 0
Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.
Can I learn c++ as my first language?
What is the advantage of c++ over c?
Which one between if-else and switch is more efficient?
What is #include cstdlib in c++?
Is c++ the best programming language?
Explain object slicing in c++?