Section 2 - Problem solving and theory of computation Flashcards
1
Q
what is abstraction
A
removing unnecessary details
2
Q
what is abstraction by generalisation
A
grouping by common characteristics to arrive at a hierarchical relationship of types
3
Q
what is procedural abstraction
A
using a procedure to carry out a sequence of steps for achieving some task, the programmer does not need to know the details of how the procedure works
4
Q
what is decomposition/compostition
A
- decomposition is breaking down complex problems into a number of subproblems, each of which performs an identifiable task
- composition is combining procedures to form compound procedures
5
Q
what is problem abstraction
A
removing details until the problem is represented in a way that is possible to solve, because it reduces to one that has already been solved
6
Q
A