[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

What is Abstraction indeed?

Posted on 2000-04-27
2
Medium Priority
?
189 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 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
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 how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

810 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