Exam-style question
Try this first
Which is an example of building a data abstraction through composition?.
- A.Combining data objects to form a tree
- B.Combining unrelated programming languages in one program
- C.Replacing every procedure with a constant
- D.Using only one data object in a program
Answer and explanation
Concise answer
Combining data objects to form a tree
Why this is correct
A data abstraction can be built by combining data objects to form compound data, such as a tree data structure.
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.
