Question 105Asked in BEL PE Computer Science, 17 Dec 2023 (8:30 AM)

Which of the following is the CORRECT sequence of the phases of a compiler?

  1. ALexical analysis, intermediate code generation, syntax analysis, code generation, code optimization
  2. BLexical analysis, syntax analysis, intermediate code generation, code generation, code optimization
  3. CLexical analysis, intermediate code generation, syntax analysis, code optimization, code generation
  4. DLexical analysis, syntax analysis, intermediate code generation, code optimization, code generation
Show answerHide answer

Correct answer: (D) Lexical analysis, syntax analysis, intermediate code generation, code optimization, code generation

From BEL PE Computer Science PYQ, 17 Dec 2023 (8:30 AM)

This is question 105 of BEL PE Computer Science PYQ, 17 Dec 2023 (8:30 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.