easyFPSCNTSCSSPPSCFIAOTSIBASTSECATProgramming & Databases
Answer explanation
Explanation included
Practice quiz ready
Question

A program runs successfully but produces an incorrect result. What type of error is this?

ASyntax error
BCompilation error
CLogical error
DLinking error

Choose an option to check yourself, or reveal the answer and explanation instantly.

Continue practising this MCQ topic

Use these links to review the full topic, start a timed quiz, or open the exam hub connected with this question.

Previous
What is a variable in programming?
Next
Which type of programming error occurs while a program is running?

Related Programming & Databases MCQs

View all

Test Yourself

Take a full quiz on Programming & Databases

Start Quiz

Exam Coverage

Trust

Answer is visible after reveal
Explanation helps learning
Free topic quiz available

Subject

Programming & Databases

Save your progress

Create a free account to bookmark MCQs and track weak areas.

Register Free
Start QuizNext MCQ
Answer and explanation

Correct Answer: C: Logical error

Explanation: A logical error occurs when a program follows valid syntax and executes without crashing but performs the wrong calculation or decision. These errors are often difficult to identify because no automatic error message is produced. Testing, code review and debugging are commonly used to find them.

Continue practice

More Programming & Databases MCQs with answers

Use these links to review related questions, practise the full topic, or open the exam preparation pages connected with this MCQ.

Related questions

Topic and exam paths