Unit 6 Flashcards
(5 cards)
1
Q
What are the benefits of using abstraction to write a program?
A
- Allows programmers to focus on the core aspects of the program
- Reduces programming time
- Reduces complexity of code
- Simplifies the problem so it is easier to solve (like pattern recognition)
- Reduces the amount of memory required
2
Q
A
3
Q
What are the definitions for abstraction and decomposition?
A
- Abstraction involves removing unnecessary information to focus on the core components
- Decomposition involves breaking down a problem into smaller subproblems
4
Q
A
5
Q
A