Exam-style question
Try this first
Which decomposition is most appropriate for a problem that requires a program to process a set of marks and produce a result?.
- A.Divide it into identifiable tasks such as obtaining the marks, processing them and producing the result
- B.Treat every action as part of one indivisible task
- C.Divide it only according to the programming language being used
- D.Create sub-problems that have no identifiable purpose
Answer and explanation
Concise answer
Divide it into identifiable tasks such as obtaining the marks, processing them and producing the result
Why this is correct
A suitable decomposition separates the problem into sub-problems with identifiable tasks. The listed tasks are examples of such a breakdown.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
