Abstraction Flashcards

1
Q

What is an interface?

A

The boundary between the user and the internal operations of the machine.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give two reasons why interfaces are important.

A

Able to learn how to use a machine with minimal training.

Little retraining required when internal workings are changed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give four reasons for Information Hiding.

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

State two ways of implementing Information Hiding in a computer program.

A

Modules

Subroutines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define Abstraction.

A

The process of removing unnecessary details until the problem can be solved.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is generalisation?

A

A way of quickly solving new problems based previously solved problems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is procedural decomposition?

A

Breaking down a system until it reaches a level sufficient to start building from. (i.e. Creating a system back up)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly