CA1 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
Fill The Blank:
Modularisation is often used in ………. ………… programming languages
Object Orientated
State:
The four techniques, also know as pillars, in computational thinking
Decomposition, Pattern Recognition, Abstraction, Algorithms
Define:
Decomposition
Breaking a complex problem into smaller and more manageable seperate parts
Fill The Blank:
When a problem is decomposed, each part can be ………., ………. and ………….. individually
Developed, Tested, Evaluated
Fill The Blank:
The solutions to each individual problem/module can be much simpler and easier to ………………. than the larger overall problem
Understand
State:
What problem solving approach uses decomposition?
Top-down
Fill The Blank:
When decomposition is complete then each sub-problem should be at the same…
Level of Detail
State:
2 advantages of decomposition
- Different people can work on different sub-tasks, modules, which can be integrated to make the final solution
- Maintanence of the final software solution can be completed at modular level
Fill The Blank:
Step 1) Identify and describe the …………… and ……………. It is important in this stage that the correct ……… ……… are used relating to the ……………
Steps of Decomposition
Problems, Processes, Technical Terms, Industry
State:
2 disadvantages of decomposition
- The sub-problems may not correctly combine to solve the initial problem
- If the initial problem is not fully understood, it can be difficult to decompose