A program runs without any message but gives the wrong answer. This is a:

  1. syntax error
  2. runtime error
  3. logical error
  4. indentation error
Answer

C) logical error

Logical errors produce incorrect results with no error message. SLO CS-11-C-07

Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise