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
Recommended Posts:
- GATE | GATE CS 2011 | Question 64
- GATE | GATE CS 2011 | Question 30
- GATE | GATE CS 2011 | Question 31
- GATE | GATE CS 2011 | Question 32
- GATE | GATE CS 2011 | Question 33
- GATE | GATE CS 2011 | Question 34
- GATE | GATE CS 2011 | Question 61
- GATE | GATE CS 2011 | Question 60
- GATE | GATE CS 2011 | Question 59
- GATE | GATE CS 2011 | Question 58
- GATE | GATE CS 2011 | Question 29
- GATE | GATE CS 2011 | Question 28
- GATE | GATE CS 2011 | Question 27
- GATE | GATE CS 2011 | Question 18
- GATE | GATE CS 2011 | Question 63
- GATE | GATE CS 2011 | Question 19
- GATE | GATE CS 2011 | Question 62
- GATE | GATE CS 2011 | Question 21
- GATE | GATE CS 2011 | Question 22
- GATE | GATE CS 2011 | Question 23

