2.2.2 Computational Methods Flashcards

(3 cards)

1
Q

What is decomposition?

A

Breaking down a problem into subproblems.

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
  1. How many classes are there?
  2. How many students are there?
  3. What are the possible grades a student could achieve?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly