Question 21
Back to Exercise
A program that runs but gives a wrong answer has a:
- A logic error Correct
- B syntax error
- C hardware fault
- D spelling error in a comment
Correct Answer: Option A
The rules were followed; the reasoning was not.
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!