1.

The lexical analyzer takes _________ as input and produces a stream of _______ as output.(a) Source program, tokens(b) Token, source program(c) Either A and B(d) None of the mentionedI had been asked this question in class test.The question is from Three-Address Statements in portion Syntax Directed Definition and Translations of Compiler

Answer»

Correct CHOICE is (a) Source program, tokens

For EXPLANATION: LEXICAL analyser takes source program as input and token as OUTPUT.



Discussion

No Comment Found

Related InterviewSolutions