GATE | GATE CS 2011 | Question 1
In a compiler, keywords of a language are recognized during
(A) parsing of the program
(B) the code generation
(C) the lexical analysis of the program
(D) dataflow analysis
Answer: (C)
Explanation: Lexical analysis is the process of converting a sequence of characters into a sequence of tokens. A token can be a keyword.
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.



