ЁЯУв Too many exams? DonтАЩt know which one suits you best? Book Your Free Expert ЁЯСЙ call Now!


    Question

    Which phase of the compiler checks the type consistency

    of the program?
    A Lexical Analysis Correct Answer Incorrect Answer
    B Syntax Analysis Correct Answer Incorrect Answer
    C Semantic Analysis Correct Answer Incorrect Answer
    D Intermediate Code Generation Correct Answer Incorrect Answer
    E Code Optimization Correct Answer Incorrect Answer

    Solution

    Semantic analysis ensures type compatibility and checks declarations against usage in the program.

    Practice Next
    More Compiler Design Questions
    ask-question