1.

Pick the machine independent phase of the compiler.(a) Syntax analysis(b) Code generation(c) Lexical analysis(d) All of the mentionedThis question was addressed to me in an internship interview.Question is taken from Three-Address Statements in portion Syntax Directed Definition and Translations of Compiler

Answer» RIGHT choice is (d) All of the mentioned

Explanation: MACHINE independent PHASES are Lexical analysis, Syntax analysis, Semantic analysis, INTERMEDIATE CODE generation and sometime code optimization.


Discussion

No Comment Found

Related InterviewSolutions