logo

Question detail

Which is an example of building a data abstraction through composition?

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 is an example of building a data abstraction through composition?.

  1. A.Combining data objects to form a tree
  2. B.Combining unrelated programming languages in one program
  3. C.Replacing every procedure with a constant
  4. D.Using only one data object in a program

Model answer

What a good answer should say

  • Combining data objects to form a tree

Explanation

Why this works

A data abstraction can be built by combining data objects to form compound data, such as a tree data structure.

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.