Lexical Analysis · Compiler Design · GATE CSE
Start PracticeMarks 1
GATE CSE 2024 Set 2
Consider the following two sets:Set XP. Lexical AnalyzerQ. Syntax AnalyzerR. Intermediate Code GeneratorS. Code OptimizerSet Y1. Abstract Syntax Tree2...
GATE CSE 2011
In a compiler, keywords of a language are recognized during
GATE CSE 2010
Which data structure in a compiler is used for managing information about variables and their attributes?
GATE CSE 2009
Match all items in Group 1 with correct options from those given in Group 2.
Group 1
P. Regular expression
Q. Pushdown automata
R. Dataflow analysis
S...
GATE CSE 2000
The number of tokens in the following C statement is:
printf("i = %d, &i = %x",i, &i);
GATE CSE 1998
Type checking is normally done during
GATE CSE 1995
In some programming languages, an identifier is permitted to be a letter following by any number of letters or digits. If L and D denote the sets of l...
GATE CSE 1995
Which of the following strings can definitely be said to be tokens without looking at the next input character while compiling a Pascal program?
I. be...
GATE CSE 1990
Match the following:
List - I
(a) Lexical Analysis
(b) Code Optimization
(c) Code Generation
(d) Abelian Group
List - II
(p) DAG's
(q) Synta...
GATE CSE 1988
In a compiler the module that checks every character of the source text is called:
Marks 2
GATE CSE 2021 Set 1
Consider the following C code segment:
a = b + c;
e = a + 1;
d = b + c;
f = d + 1;
g = e + f;
In a compiler, this code segment is...
GATE CSE 2018
Which one of the following statements is FALSE?
GATE CSE 2018
A lexical analyzer uses the following patterns to recognize three tokens $${T_1},{T_2},$$ and $${T_3}$$ over the alphabet $$\left\{ {a,b,c} \right\}.$...
GATE CSE 2016 Set 2
Which one of the following grammars is free from $$left$$ $$recursion$$?
GATE CSE 2008
Which of the following are true?
I. A programming language which does not permit global variables of any kind and has no nesting of procedures/functi...
GATE CSE 1999
The number of tokens in the Fortran statement DO 10 I = 1.25 is