A logical error is:
-
A
Detected by compiler
-
B
Detected by wrong output
Correct answer
-
C
Detected by syntax check
-
D
Detected by hardware
Correct answer
B. Detected by wrong output
9 views
Explanation
A logical error produces wrong results even though the code runs. It is the hardest type to find.
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ