Abstraction Flashcards
What is an interface?
The boundary between the user and the internal operations of the machine.
Give two reasons why interfaces are important.
Able to learn how to use a machine with minimal training.
Little retraining required when internal workings are changed.
Give four reasons for Information Hiding.
Different objects can have identical interfaces.
A common interface reduces need for training.
No knowledge required of the internal design.
(Hence) Internal design can remain secret.
State two ways of implementing Information Hiding in a computer program.
Modules
Subroutines
Define Abstraction.
The process of removing unnecessary details until the problem can be solved.
What is generalisation?
A way of quickly solving new problems based previously solved problems.
What is procedural decomposition?
Breaking down a system until it reaches a level sufficient to start building from. (i.e. Creating a system back up)