Error Detection and Recovery Mechanisms MCQs
30 min Score: 0 Attempted: 0/30 Subscribe 1. What is the main goal of error detection in compilers? (A) To identify and report errors in the source code (B) To stop compilation immediately (C) To optimize code performance (D) To execute the program 2. Which phase of compilation primarily detects syntax errors? (A) Lexical analysis … Read more