Question Detail

COS 102 concept of problem solving; lecture 1 week 2 Objective Question

Question

Which characteristic best describes Logical Errors, according to the document?
Options
A They prevent the program from compiling.
B They are identified by the compiler at compile time.
C They are not identified by the compiler at compile time but at execution time.
Correct Answer
D They are caused by hardware malfunctions.
Correct Answer

Option C is the correct answer.

Detailed Explanation

Slide 15 states: 'Logical Errors: Not identified by the compiler at compile time and identified at the execution time. e.g. misuse of operators'.

Hint

Review the definition of 'Logical Errors' on Slide 15, specifically when they are detected.

Question Info