?
Solved

What is Abstraction indeed?

Posted on 2000-04-27
2
Medium Priority
?
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 200 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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 …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

765 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