1. Home
  2. Engineering
  3. Computer Engineering
  4. Which statement is correct? A logical error

Added 28 Nov 2026

Which statement is correct? A logical error

  1. Is a violation of the grammatical rules of the language
  2. Makes a program run but produce incorrect output Correct answer
  3. Means bundling data and methods together and restricting direct access to the data
  4. Translates and executes the program line by line

Correct answer

B. Makes a program run but produce incorrect output

MCQSEXAM

Explanation

A logical error makes a program run but produce incorrect output.

Reference

Asked in: Engineering Computer Engineering Practice

https://en.wikipedia.org/wiki/Object-oriented_programming

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Engineering MCQs

Practise all Computer Engineering MCQs

Similar MCQs