Solved

What is Abstraction indeed?

Posted on 2000-04-27
2
173 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

948 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now