Question Detail

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

Question

When are 'Syntax Errors' typically identified by the compiler?
Options
A During program execution time.
B At the program compilation time.
Correct Answer
C After the program has been successfully deployed.
D When the program generates incorrect output.
Correct Answer

Option B is the correct answer.

Detailed Explanation

Page 15 states under 'Errors in Debugging': 'Syntax Errors: Identified by compiler at the program compilation time.'

Hint

Look at the definition of 'Syntax Errors' on page 15.

Question Info