what is data Abstraction? and give example
Answers were Sorted based on User's Feedback
Answer / niranjan
Data Abstraction increases the power of programming language
by creating user defined data types.Data Abstraction also
represents the needed information in the program without
presenting the details.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / niru
It is a process of creating user interface to a application.... so that user can create more than one instance of this application.. in other words making it generic.
Ex : High level programming languages.
GUI's of applications ...ETC
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / p.c. pandey
Data abstraction is a special type of OOP(Object Oriented
Programming) concept, by which a programmer can build the
sequre program with the true meaning of the data without
including back ground details or it's explanation.
Data abstraction also provides essential features to the
programmer.
for exampel:-
struct emp
{
char name[10};
int age;
char add[25];
}
struct emp x;
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / hussey
Abstraction is a concept with which we can work without
going into detail.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ankur
the data abstraction defining the essential features without
representing the background detail.
class result
{
int marks;
float percentage;
char name[40];
void input();
void output();
}
void main()
{
bank b1;
b1.input();
b1.output();
}
the other example in student detail we just use the
stu_id,stu_branch,stu_clg, we we'll not represent it 's
backgroung as,who is the mother of student,etc thing .
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ansh pratap singh
abstraction is a concept that reduces the behavior of an
object to the lowest common denominator.
an concept and idea not associate with any specific instance
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / amit upadhayay
abstraction is a mechanism that enables the designer to
focus the essential details of a program component with
little concern for lower level details
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rohan nimbalkar
Data Abstraction means hiding unnecessary information from
the user .
simple example :
consider the car,then does not require how the works
gear-box,how to work engine.etc
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / k.shajil, surandai
In computer science, the mechanism and practice of abstraction reduces and factors out details so that one can focus on a few concepts at a time.
The following English definition of abstraction helps to understand how this term applies to computer science, IT and objects:
abstraction - a concept or idea not associated with any specific instance[1]
The concept originated by analogy with abstraction in mathematics. The mathematical technique of abstraction begins with mathematical definitions; this has the fortunate effect of finessing some of the vexing philosophical issues of abstraction. For example, in both computing and in mathematics, numbers are concepts in the programming languages, as founded in mathematics. Implementation details depend on the hardware and software, but this is not a restriction because the computing concept of number is still based on the mathematical concept.
In computer programming, abstraction can apply to control or to data: Control abstraction is the abstraction of actions while data abstraction is that of data structures.
Control abstraction involves the use of subprograms and related concepts control flows
Data abstraction allows handling data bits in meaningful ways. For example, it is the basic motivation behind datatype.
One can regard the notion of an object (from object-oriented programming) as an attempt to combine abstractions of data and code.
The recommendation that programmers use abstractions whenever suitable in order to avoid duplication (usually of code) is known as the abstraction principle. The requirement that a programming language provide suitable abstractions is also called the abstraction principle.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sujit
it is process of representing the essential features
without knowing the background details,
we use the member functions and data members in the class
but we dont know how it works.
EX.
class abc
{int l;
void getdata();
};
Is This Answer Correct ? | 1 Yes | 0 No |
Is c++ free?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ?
What is #include c++?
Do you know about latest advancements in C++ ?
0 Answers Agilent, ZS Associates,
Mention the storage classes in c++.
Who created c++?
What are the restrictions apply to constructors and destructors?
Difference between Overloading and Overriding?
35 Answers Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,
What is near, far and huge pointers? How many bytes are occupied by them?
Explain operator overloading.
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
What is c++ programming language?