Abstraction: keeping the important bits — Computing, 7–10 years
Learn how computer scientists leave out detail so a complicated thing becomes easier to understand and use.
What abstraction means
Abstraction means showing the parts that help with the job and hiding details that do not. A map does not show every tree or paving stone; it shows roads, places and directions. In computing, a simple screen or button can hide a great deal of complicated work.
Why leave details out?
The problem is that a real place, machine or game contains too much information to handle all at once. Computer designers needed ways to work with a useful version instead of rebuilding the whole world each time. Choosing what to ignore makes plans clearer, while the hidden details can still be handled underneath.
A map for a delivery robot
Suppose a robot must carry a parcel from the library to the bakery. We keep streets, crossings and blocked roads, because they affect its journey. We leave out trees, window colours and house numbers that are not needed. The robot now has a smaller map it can use to choose a safe route.
The tempting mistake
A reasonable mistake is to remove every detail that seems unimportant at first. But a detail can matter later: a narrow bridge may be needed if a robot cannot cross water. Good abstraction is not simply making something tiny; it keeps the details needed for the questions we want to answer.
Where abstraction is used
You meet abstraction in satnavs, weather apps and games. A satnav shows the roads relevant to your trip, not every object beside them. A game turns a player’s button press into a visible action without asking the player to control every calculation. The simplification is useful only while it keeps what the task needs.
Keep exploring
Other languages
Loading MyLeoNes™…