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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly