1.

The action of parsing the source code into proper syntactic classes is known as:(a) Parsing(b) Interpretation analysis(c) Lexicography(d) Lexical AnalysisThe question was posed to me during an online interview.My question comes from Lexical Analysis in section Regular Expressions and Languages of Automata Theory

Answer»

Right option is (d) Lexical Analysis

The best I can explain: Lexical analysis or SCANNING is the PROCESS of parsing the SOURCE code into proper SYNTACTIC CLASSES. It gets things ready for the parser with lexemes to built the parse tree.



Discussion

No Comment Found

Related InterviewSolutions