1.

The scanner outputs:(a) Stream of tokens(b) Image file(c) Intermediate code(d) Machine codeI have been asked this question during a job interview.Question is from Lexical Analysis topic in division Regular Expressions and Languages of Automata Theory

Answer» RIGHT answer is (a) Stream of tokens

Easy explanation: A scanner or a lexical ANALYZER takes a SOURCE code as input and OUTPUTS a stream of token after fragmenting the code.


Discussion

No Comment Found

Related InterviewSolutions