logo

AQA A-Level Computer Science practice

What does it mean for one algorithm to be more time-efficient than another?

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

At a glance

MCQ

Type

practice

Style

Topic

Classification of algorithms

Exam-style question

Try this first

What does it mean for one algorithm to be more time-efficient than another?.

  1. A.It uses less memory for every possible problem
  2. B.It takes less time to complete for the relevant problem sizes
  3. C.It always produces a different result
  4. D.It contains fewer lines of code

Answer and explanation

Concise answer

It takes less time to complete for the relevant problem sizes

Why this is correct

Time efficiency concerns how quickly an algorithm runs. The number of lines of code does not by itself determine how time-efficient an algorithm is.

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