2.1.3 - thinking procedurally Flashcards
10 (3 cards)
1
Q
top-down design
A
The technique of breaking down a problem into major tasks, then subtasks until each is simple enough to be written as a self-contained subroutine.
2
Q
How can decomposition aid the design of a program?
A
It will creates a more manageable problem / simpler to
understand / maintain
can tackle each sub problem independently
* Smaller problems are more manageable
* Smaller problems are easier to solve
* To see where code can be reused in the solution
* To split tasks between different programmers
3
Q
secondary definition of pipelining
A
The result from one process/procedure feeds into the next.