logo

AQA A-Level Computer Science practice

Which pair best describes the two essential parts of a typical recursive solution?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Programming

Exam-style question

Try this first

Which pair best describes the two essential parts of a typical recursive solution?.

  1. A.A base case and a general case
  2. B.An input statement and an output statement
  3. C.A loop and an array
  4. D.A variable declaration and a comment

Answer and explanation

Concise answer

A base case and a general case

Why this is correct

The base case provides a stopping condition. The general case reduces or changes the problem and makes a recursive call.

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