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


    Question

    Which of the following is the first phase of a compiler?

    A Syntax Analysis Correct Answer Incorrect Answer
    B Semantic Analysis Correct Answer Incorrect Answer
    C Lexical Analysis Correct Answer Incorrect Answer
    D Code Generation Correct Answer Incorrect Answer
    E Intermediate Code Generation Correct Answer Incorrect Answer

    Solution

    The compiler works in multiple phases, and the first phase is Lexical Analysis. It reads the source code as a stream of characters and converts them into tokens.

    Practice Next
    More Compiler Design Questions
    ask-question