Once we have recognised patterns in our problems, we use abstraction to gather the general characteristics and to filter out of the details we do not need in order to solve our problem.
Part ofComputer ScienceComputational thinking
Abstraction is the gathering of the general characteristics we need and the filtering out of the details and characteristics that we do not need.
When baking a cake, there are some general characteristics between cakes. For example:
When abstracting, we remove specific details and keep the general relevant patterns.