2.2.2 Computational Methods Flashcards
(3 cards)
1
Q
What is decomposition?
A
Breaking down a problem into subproblems.
2
Q
Give 2 advantages and 2 disadvantages of decomposition
A
Advantages:
1. Reduces debugging time
2. Promotes reusability
Disadvantages:
1. Requires careful planning and coordination
2. Increases initial complexity
3
Q
Consider a teacher calculating the grades of several classes of students over a year. Identify 3 examples of components of this problem
A
- How many classes are there?
- How many students are there?
- What are the possible grades a student could achieve?