GATE CS 2021 : Compiler Design Quiz 1
Attempt now to get your rank among 777 students!
In a compiler, keywords of a language are recognized during?
A- Lexical analyzer
B- Syntax analyzer
C- Type checking
1- Checks the structure of the program.
2- Analysis of entire program by reading each character.
3- Checks the consistency requirements in a context of the program.
Consider the following statements:
S1: If the keywords are not reserved then lexical analyser must distinguish between keyword and user defined identifier
S2: The statement DO 5 I = 1,25 is having six tokens
Which statements is/are true?
- 777 attempts
- 5 upvotes
- 24 comments