158k views
1 vote
A computer program outputs whether a capital city in Europe is north or south of another capital city in Europe. It only needs to know the latitude of the two cities – the other detail is unnecessary. This is an example of abstraction; including the necessary detail and not including the unnecessary detail.

User MK Vimalan
by
7.3k points

1 Answer

1 vote

Answer:

Yes, that is correct.

Step-by-step explanation:

Abstraction is the process of focusing on the essential features of something and ignoring non-essential details. In this case, the program is only concerned with the latitude of the two cities, so it ignores all other details about the cities and only outputs whether one city is north or south of the other. This helps to simplify the program and make it more efficient by only dealing with the necessary information.

User Akbapu
by
8.0k points