Click to see the rest of the Algorithms section :
Abstraction is a technique employed by programmers to make problems and programs easier to understand.
The simple definition of abstraction is to “remove detail that isn’t needed to make the problem easier to solve”.
But how do we know what detail is not needed?
The easiest was to identify an ‘abstracted model’ is to ask ourselves if the explanation would now describe the general problem instead of a specific one.
For example, this photograph of a cat could be used to describe to someone what a cat is. But if we used this photograph alone to describe what a cat is, we run the risk that they may think all cats have green eyes, white paws, and are tabbies.
That isn’t true, so we would need to remove the details that don’t apply to all cats to create our model.
Instead, we could describe our cat by it’s shape, size, number of legs, and ears. By just keeping the important details, we have created a ‘model’ that can be applied to solve our problem.
Find this page helpful? Share the love on your social media mentioning @TeachAllAboutIT and we’ll enter you in our monthly draw to win a gift voucher for any product on the site!
More For Members
Sign Up For Membership Today
|Individual Teacher||£3.99 per Month. After your initial payment, your first payment is Free.||Select|
|Individual Student||£2.50 per Month. After your initial payment, your first payment is Free.||Select|
|Whole School||£12.50 per Month.||Select|
|iGCSE Computer Science Distance Learning (Feb Start)||£21.00 now and then £21.00 per Month for 15 more Months.||Select|
|iGCSE Computer Science Distance Learning (Sept Start)||£21.00 now and then £21.00 per Month for 15 more Months.||Select|