Abstraction Flashcards
what is abstraction?
the process of strategically removing details that are not relevant with regard to a particular goal
what is refinement?
the process of adding more detail to an algorithm
what is stepwise refinement?
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
what is encapsulation?
a process in which several related actions are grouped together and given a name
what is an algorithm’s input?
specifies resources or information that need to exist in advance before the algorithm can be carried out
what is an algorithm’s output?
specifies the results that must have occurred by the time the algorithm is finished