Abstraction Flashcards

1
Q

what is abstraction?

A

the process of strategically removing details that are not relevant with regard to a particular goal

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

what is refinement?

A

the process of adding more detail to an algorithm

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

what is stepwise refinement?

A

a process where we repeatedly replace actions that are too abstract with a sequence of less abstract, more detailed actions until we reach a level of detail such that the actions are both feasible and self-explanatory for the algorithm’s audience

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

what is encapsulation?

A

a process in which several related actions are grouped together and given a name

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

what is an algorithm’s input?

A

specifies resources or information that need to exist in advance before the algorithm can be carried out

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

what is an algorithm’s output?

A

specifies the results that must have occurred by the time the algorithm is finished

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