logo

Pearson Edexcel GCSE (9-1) Computer Science practice

Which action best demonstrates logical reasoning when evaluating an algorithm?

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

At a glance

MCQ

Type

practice

Style

Topic

Algorithms

Exam-style question

Try this first

Which action best demonstrates logical reasoning when evaluating an algorithm?.

  1. A.Running the code and timing its execution.
  2. B.Drawing a flowchart for the algorithm.
  3. C.Manually stepping through the logic with sample data to predict the result.
  4. D.Uploading the program to a different device.

Answer and explanation

Concise answer

Manually stepping through the logic with sample data to predict the result.

Why this is correct

Manually tracing logic is logical reasoning, helping you predict outputs and identify flaws before running the code.

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

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions