Solved

What is Abstraction indeed?

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

728 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