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

Syntax Directed Translation

Compiler Design

Previous Years Questions

Marks 1

More
Consider the following grammar along with translation rules. S $$\to$$ S1 # T {S.val = S1.val * T.val} S $$\to$$ T {S.va...
GATE CSE 2022
Consider the following code segment. x = u - t; y = x * v; x = y + w; y = t - z; y = x * y; The minimum number of total ...
GATE CSE 2016 Set 1
In the context of abstract-syntax-tree $$(AST)$$ and control-flow-graph $$(CFG),$$ which one of the following is TRUE?
GATE CSE 2015 Set 2
One of the purposes of using intermediate code in compilers is to
GATE CSE 2014 Set 3
Which of the following statements is FALSE?
GATE CSE 2003
In the following grammar: $$\eqalign{ & X:: = X \oplus {Y \over Y} \cr & Y:: = Z*{Y \over Z} \cr &...
GATE CSE 1997
A linker is given object modules for a set of programs that were compiled separately. What information need to be includ...
GATE CSE 1995
Generation of intermediate code based on an abstract machine model is useful in compilers because
GATE CSE 1994

Marks 2

More
Consider the following grammar (that admits a series of declarations, followed by expressions) and the associated syntax...
GATE CSE 2021 Set 1
Consider the following Syntax Directed Translation Scheme $$(SDTS),$$ with non-terminals $$\left\{ {S,A} \right\}$$ and ...
GATE CSE 2016 Set 1
Consider the basic block given below. a = b + c c = a + d d = b + c e = d - b a = e + b The minimum number of nodes ...
GATE CSE 2014 Set 3
The program below uses six temporary variables a, b, c, d, e, f. a = 1 b = 10 c = 20 d = a + b e = c + d f = c + e ...
GATE CSE 2010

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