NEW
New Website Launch
Experience the best way to solve previous year questions with mock tests (very detailed analysis), bookmark your favourite questions, practice etc...
VISIT NOW

GATE CSE

Lexical Analysis

Compiler Design

Previous Years Questions

Marks 1

More
In a compiler, keywords of a language are recognized during
GATE CSE 2011
Which data structure in a compiler is used for managing information about variables and their attributes?
GATE CSE 2010
Match all items in Group 1 with correct options from those given in Group 2. Group 1 P. Regular expression Q. Pushdown a...
GATE CSE 2009
The number of tokens in the following C statement is: printf("i = %d, &i = %x",i, &i);...
GATE CSE 2000
Type checking is normally done during
GATE CSE 1998
Which of the following strings can definitely be said to be tokens without looking at the next input character while com...
GATE CSE 1995
In some programming languages, an identifier is permitted to be a letter following by any number of letters or digits. I...
GATE CSE 1995
Match the following: List - I (a) Lexical Analysis (b) Code Optimization (c) Code Generation (d) Abelian Group L...
GATE CSE 1990
In a compiler the module that checks every character of the source text is called:
GATE CSE 1988

Marks 2

More
Consider the following C code segment: a = b + c; e = a + 1; d = b + c; f = d + 1; g = e + f; In a ...
GATE CSE 2021 Set 1
A lexical analyzer uses the following patterns to recognize three tokens $${T_1},{T_2},$$ and $${T_3}$$ over the alphabe...
GATE CSE 2018
Which one of the following statements is FALSE?
GATE CSE 2018
Which one of the following grammars is free from $$left$$ $$recursion$$?
GATE CSE 2016 Set 2
Which of the following are true? I. A programming language which does not permit global variables of any kind and has n...
GATE CSE 2008
The number of tokens in the Fortran statement DO 10 I = 1.25 is
GATE CSE 1999

Joint Entrance Examination

JEE Main JEE Advanced WB JEE

Graduate Aptitude Test in Engineering

GATE CSE GATE ECE GATE EE GATE ME GATE CE GATE PI GATE IN

Medical

NEET

CBSE

Class 12