logo

AQA A-Level Computer Science practice

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 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 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

Answer and explanation

Concise answer

Data abstraction

Why this is correct

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