logo

Question detail

A programmer uses a stack without needing to know whether it is implemented using an array and a top-of-stack pointer. What does this illustrate?

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 programmer uses a stack without needing to know whether it is implemented using an array and a top-of-stack pointer. What does this illustrate?.

  1. A.Data abstraction
  2. B.Displaying implementation details
  3. C.Replacing a compound data object with a primitive type
  4. D.Preventing new data objects from being constructed

Model answer

What a good answer should say

  • Data abstraction

Explanation

Why this works

The use of the stack is separated from the details of how the stack is constructed, which illustrates data 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.