logo

AQA A-Level Computer Science practice

In the specification example, which pair could be used to implement a stack?

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

In the specification example, which pair could be used to implement a stack?.

  1. A.An array and a pointer for the top of the stack
  2. B.A single character and a Boolean value
  3. C.A file and a pointer to the first program instruction
  4. D.A loop and a conditional statement

Answer and explanation

Concise answer

An array and a pointer for the top of the stack

Why this is correct

The stated example is a stack implemented using an array and a pointer for the top of the stack.

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