📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      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
      ask-question