1.1.1 Using top-down, bottom-up and modularisation approaches to solve problems Flashcards
Define:
top-down approach
Technique used to solve problems where the problem is broken down into smaller and smaller problems until an easily solved problem is defined.
Fill The Blank:
The …… ……… approach divides a problem into multiple smaller problems which can be used to individually code each module.
Top Down
Fill The Blank:
When using the top down approach, the problem is ……….. until it cannot be done so any further. This approach uses a …………. process to break down large problems.
Decomposed, Stepwise
Fill The Blank:
Each level in the top down approach shows a different level of ……. due to …………….
Detail, Abstraction
Define:
Computational Thinking
A method of problem solving where possible solutions are developed and presented in a way that can be understood by humans and computers
Define:
Abstraction
Removing characteristics that are not needed to focus on essential characteristics
Fill The Blank:
The bottom up approach, starts with the ……….. part (module) of the problem. These modules are then ………….. until the complete problem is solved.
Smallest, Combined
Guess The Keyword:
Combination of modules when using the bottom up approach
Integration
True or False:
The top down approach cannot contain redundant information.
False
True or False:
When using the bottom up approach, redundancy can be eliminated
True
Multiple Choice:
The top down approach is better suited to:
1) Procedural orientated programming
2) Object orientated programming
1) Procedural orientated programming
Multiple Choice:
The bottom up approach is better suited to:
1) Procedural orientated programming
2) Object orientated programming
2) Object orientated programming
State:
2 uses of the top down approach in development
2 out of:
* Module documentation
* Test case creation
* Code implentation
* Debugging
State:
One use of the bottom up approach in development
Testing
Fill The Blank:
The …………. approach breaks down a problem into lots of smaller components (modules) to be developed individually which is less daunting. These modules then work together to provide a solution to the initial problem.
Modularisation