šŸ“¢ Too many exams? Don’t know which one suits you best? Book Your Free Expert šŸ‘‰ call Now!


    ⚔ Month End Offer - Flat 52% Off On All Courses! Enroll Now ⚔
    00:00:00 AM Left

    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