logo

Question detail

Which decomposition is most appropriate for a problem that requires a program to process a set of marks and produce a result?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Abstraction and automation

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?.

  1. A.Divide it into identifiable tasks such as obtaining the marks, processing them and producing the result
  2. B.Treat every action as part of one indivisible task
  3. C.Divide it only according to the programming language being used
  4. D.Create sub-problems that have no identifiable purpose

Model answer

What a good answer should say

  • Divide it into identifiable tasks such as obtaining the marks, processing them and producing the result

Explanation

Why this works

A suitable decomposition separates the problem into sub-problems with identifiable tasks. The listed tasks are examples of such a breakdown.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.