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

Code Generation and Optimization

Compiler Design

Previous Years Questions

Marks 1

More
Consider the following statements. I. Symbol table is accessed only during lexical analysis and syntax analysis. II. Com...
GATE CSE 2020
Which one of the following is FALSE?
GATE CSE 2014 Set 1
Which languages necessarily need heap allocation in the runtime environment?
GATE CSE 2010
Some code optimizations are carried out on the intermediate code because
GATE CSE 2008
Consider the grammar rule $$E \to {E_1} - {E_2}$$ for arithmetic expressions. The code generated is targeted to a CPU ha...
GATE CSE 2004
Match the followings: Group-I (a) Pointer data type (b) Activation Record (c) Repeat -Until (d) Coercion Group-II...
GATE CSE 1990

Marks 2

More
Consider the intermediate code given below. (1) i = 1 (2) j = 1 (3) t1 = 5 ∗ i (4) t2 = t1 + j (5) t3 = 4 ∗ t2 (6) ...
GATE CSE 2015 Set 2
The least number of temporary variables required to create a three-address code in static single assignment form for the...
GATE CSE 2015 Set 1
A variable x is said to be live at a statement $${S_i}$$ in a programif the following three conditions hold simultaneous...
GATE CSE 2015 Set 1
For a C program accessing X[ i ] [ j ] [ k ], the following intermediate code is generated by a compiler. Assume that th...
GATE CSE 2014 Set 2
Consider the following C code segment. for (i = 0; i < n; i++) { for (j=0; j < n; j++) { ...
GATE CSE 2006
Consider the following translation scheme. $$\eqalign{ & S \to ER \cr & R \to *E\left\{ {pr{\mathop{\rm in...
GATE CSE 2006
Consider line number 3 of the following C - program. int main ( ) { /* Line 1 */ int I, N; ...
GATE CSE 2005
Which of the following is NOT an advantage of using shared, dynamically linked libraries as opposed to using statically ...
GATE CSE 2003
Consider the syntax directed definition shown below. Here, gen is a function that generates the output code, and newtem...
GATE CSE 2003

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