logo

AQA A-Level Computer Science practice

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

Try the question first, then check the answer and practise the same topic again.

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

Answer and explanation

Concise answer

A compound procedure formed through composition

Why this is correct

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

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.

Related flashcards

No flashcards are published for this page yet.

Related practice questions