A program runs without crashing but gives the wrong answer. This is a:
- Compiler error
- Syntax error
- Run-time error
- Logical error
Answer
D) Logical error
Logic errors are found by testing and dry runs, not by the interpreter. SLO CS-11-C-07 · Understanding
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise