Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

GATE | GATE CS 2011 | Question 1

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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.



Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 01 Sep, 2021
Like Article
Save Article
Similar Reads