Solved

What is Abstraction indeed?

Posted on 2000-04-27
2
176 Views
Last Modified: 2010-04-02
Hi,
I have bumped into this word ,Abstraction,hundreds time when I study computer software-oriented knowledge.
I'm confused ,so would you please tell me:

What does abstract/abstraction Mean indeed?

Thanks.
Regard.
0
Comment
Question by:zystudio
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 50 total points
ID: 2754701
An abstraction is when we treat something as if it is something other than what it trully is.  That's helpful, right?

For example, we store characters in a computer doing somthing line

char Chr = 'A';

But that is an abstraction.  The Chr variable does not store an 'A', it stores.  The computer doesn't store letters, only numbers.  so what it stored is the  number 65, not an 'A', but we treat it like and 'A' as an abstraction.

But you know what, a computer does not really store numbers either.  That is another level of abstraction.  We pretend it stores numbers.  But actually it stores patterns of voltage...

This sort of thing, with where abstraction occurs apon abstraction is very very common.

continues
0
 
LVL 22

Expert Comment

by:nietod
ID: 2754711
All programs use abstractions to various degrees.  But object oriented programs tend to rely very heavily on abstrctions.  They often use very complex abstractions that are central to their design.  The most obvious example is the use of objects that are supposed to mirror the real world in some way.  For example you might create a payroll accounting system that has employee objects for the employees to be paid.  Well these are not the actuall employees, these are objects in the computer.  Treating them as a employee is an abstraction.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SendMessage fails while PostMessage works 2 114
ADO Memory leak with DELPHI 2007 37 181
VS2015 compilation and missing DLLs 9 147
Best book to learn C++ 4 79
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question