logo

Question detail

Which statement correctly compares the two forms of composition in the specification?

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 statement correctly compares the two forms of composition in the specification?.

  1. A.Composition combines procedures for a composition abstraction and data objects for a data abstraction
  2. B.Composition combines data objects only and cannot involve procedures
  3. C.Composition means copying one procedure without combining it with anything
  4. D.Composition is limited to storing a single value

Model answer

What a good answer should say

  • Composition combines procedures for a composition abstraction and data objects for a data abstraction

Explanation

Why this works

The specification distinguishes between combining procedures to form compound procedures and combining data objects to form compound data.

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.