1
GATE CSE 2024 Set 2
MCQ (Single Correct Answer)
+1
-0.33
Consider the following two sets:
Set X
P. Lexical Analyzer
Q. Syntax Analyzer
R. Intermediate Code Generator
S. Code Optimizer
Set Y
1. Abstract Syntax Tree
2. Token
3. Parse Tree
4. Constant Folding
Which one of the following options is the correct match from Set X to Set Y?
2
GATE CSE 2011
MCQ (Single Correct Answer)
+1
-0.3
In a compiler, keywords of a language are recognized during
3
GATE CSE 2010
MCQ (Single Correct Answer)
+1
-0.3
Which data structure in a compiler is used for managing information about variables and their attributes?
4
GATE CSE 2009
MCQ (Single Correct Answer)
+1
-0.3
Match all items in Group 1 with correct options from those given in Group 2.
Q. Pushdown automata
R. Dataflow analysis
S. Register allocation
2. Code generation
3. Lexical analysis
4. Code optimization
Group 1
P. Regular expressionQ. Pushdown automata
R. Dataflow analysis
S. Register allocation
Group 2
1. Syntax analysis2. Code generation
3. Lexical analysis
4. Code optimization
Questions Asked from Lexical Analysis (Marks 1)
Number in Brackets after Paper Indicates No. of Questions
GATE CSE Subjects
Theory of Computation
Operating Systems
Algorithms
Database Management System
Data Structures
Computer Networks
Software Engineering
Compiler Design
Web Technologies
General Aptitude
Discrete Mathematics
Programming Languages