logo

Question detail

A procedure called prepareReport performs the following steps by using three smaller procedures: getData, processData and displayData. What does prepareReport represent?

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

A procedure called prepareReport performs the following steps by using three smaller procedures: getData, processData and displayData. What does prepareReport represent?.

  1. A.A compound procedure formed through composition
  2. B.A single data object
  3. C.A tree data structure formed from data objects
  4. D.A procedure that contains no abstraction

Model answer

What a good answer should say

  • A compound procedure formed through composition

Explanation

Why this works

prepareReport combines several procedures to form one larger procedure, so it is a composition abstraction.

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.