Which compiler phase converts source code into tokens?
Show answerHide answer
Correct answer: (C) Lexical analysis
Explanation
The lexer produces tokens; the parser builds a parse tree.
Correct answer: (C) Lexical analysis
Explanation
The lexer produces tokens; the parser builds a parse tree.
This is question 125 of DSSSB TGT Computer Science Full Mock Test 4. 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.