logo

Pearson Edexcel GCSE (9-1) Computer Science practice

Which of the following best describes a logic error?

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 of the following best describes a logic error?.

  1. A.The program cannot be translated into machine code.
  2. B.The program attempts an illegal operation during execution.
  3. C.The program executes successfully but produces an incorrect or undesired outcome.
  4. D.The program contains spelling mistakes in keywords.

Answer and explanation

Concise answer

The program executes successfully but produces an incorrect or undesired outcome.

Why this is correct

Logic errors involve flaws in the algorithm that lead to incorrect results, despite the program running without crashing.

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