what is data Abstraction? and give example
Answers were Sorted based on User's Feedback
Answer / t@run gupta
Data Abstraction:
By this feature of object oriented programming it is
possible to represent the needed information in program
without presenting the details. Also by the feature of data
abstraction it is possible to create user defined data types
and thus increase the power of programming language
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / ankit shrivastav
abstraction refers to the act of representing essential features without including the background details or explanations
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / saikumar jalda
Data abstraction means the mechanism of hiding the data
without effecting the background details is called data
abstratction.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / gomathi
Data Abstraction is an act of representing essential
details without including background details which is
unnecessary.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / kazumi67
Data abstraction retrieves data efficiently. The need for
efficiency has led designers to use complex data stuctures
to represent data in the database.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / faheemullah
Abstraction the process of recognizing and focusing on
important characteristics of a objet. and leaving un wanted
characteristics of that object. Example
Doctor see patient: the doctor is intrested in name,
height, weigth, age, blood group, previous and existing
disease of a person. doctor not intrested degree of study,
work experience, etc............
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / kishore kumar
data abstraction is a process of representing the essential
features without including implementation details.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / nitin
Data abstraction is tearing the pages of the book and keeping only the summary page..
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / pavan
Data abstraction s nothing but deifing the highlights and
including every thing in the function
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / vidula & akshta
It is selective examination of certain aspects of
problem.........
| Is This Answer Correct ? | 0 Yes | 1 No |
What is the basic structure of c++ program?
What is difference between c++ 11 and c++ 14?
What is data types c++?
Explain virtual class?
What is the difference between "overloading" and "overridding"?
What is meant by iomanip in c++?
What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)?
24 Answers Infosys, Microsoft, TCS,
Is java easier than c++?
What is "mutable" keyword?
What is a volatile variable in c++?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
how can i access a direct (absolute, not the offset) memory address? here is what i tried: wrote a program that ask's for an address from the user, creates a FAR pointer to that adress and shows it. then the user can increment/decrement the value in that address by pressing p(inc+) and m(dec-). NOW, i compiled that program and opened it twice (in 2 different windows) and gave twice the same address to it. now look what happen - if i change the value in one "window" of the program, it DOES NOT change in the other! even if they point to the same address in the memory! here is the code snippet: //------------------------------------------------------ #include <stdio.h> //INCLUDE EVERY KNOWN HEADER FILE #include <conio.h> //FOR ANY CASE... #include <iostream.h> #include <dos.h> #include <process.h> main() { int far *ptr; //FAR POINTER!!! long address; char key=0; //A KEY FROM THE KEYBOARD int temp=0; clrscr(); cout<<"Enter Address:"; cin>>hex>>address; //GETS THE ADDRESS clrscr(); (long)ptr=address; temp=*ptr; //PUTS THE ADDRESS IN THE PTR cout<<"["<<hex<<(unsigned long)ptr<<"]="<<*ptr<<" = "<< (char)(*ptr); //SHOWS: [address]=value=ASCII symbol. while (key!=27) //WHILE YOU DONT PRESS ESC. { while(!kbhit()) //WHILE KEY IS NOT PRESSED { if (temp!=*ptr) { temp=*ptr; clrscr(); cout<<"["<<hex<< (unsigned long)ptr<<"]="<<*ptr<<" = "<<(char)(*ptr); }; //IF THE VALUE HAS CHANGED, CLEAR THE SCREEN AND SHOW //AGAIN if (key=='p') {key=0; (*ptr)++; } //INCREMENT VALUE if (key=='m') {key=0; (*ptr)--; } //DEC. VALUE }; key=getch(); //IF A KEY IS PRESSED, READ IT FROM THE //KEYBOARD }; return 0; //IF ESC WAS THE KEY, EXIT THE PROGRAM } //---------------------------------------------------------