Question 25
Back to Exercise
A programmer's code runs without errors but prints the wrong total. What kind of error is it?
- A Syntax error
- B Logic error Correct
- C Runtime error
- D Hardware error
Correct Answer: Option B
The rules were followed, but the reasoning was wrong.
Trap: the other options are related software terms that examiners use as look-alike distractors.
Answer: Logic error
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!