Skip to content
Early access — you're among the first to try PYQLabs. Share feedback
Concept drill

compiler phases

GATE CSE & IT · Compilers - Phases of Compiler · 1988-2026

17
PYQs
100%
keyed
0
elite explanations
16
years appeared

Study anchor

Source-book anchor pending for this concept.

Practice action

Start latest PYQ

PYQs in this concept

All concepts →
2026 PYQ

Consider the following C statements: char str1 = "Hello; / Statement S1 */ char str2 = "Hello;"; / Statement S2 */ int str3 = "Hello"; / Statement S3 */ Which of the following opti...

easyanswer keybasic explanation
2025 PYQ

Which ONE of the following statements is FALSE regarding the symbol table?

easyanswer keybasic explanation
2024 PYQ

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...

easyanswer keybasic explanation
2023 PYQ

Consider the following statements regarding the front-end and back-end of a compiler. S1: The front-end includes phases that are independent of the target hardware. S2: The back-en...

easyanswer keybasic explanation
2021 PYQ

Consider the following ANSI C program: int main() { Integer x; return 0; } Which one of the following phases in a seven-phase C compiler will throw an error?

easyanswer keybasic explanation
2021 PYQ

In the context of compilers, which of the following is/are NOT an intermediate representation of the source program?

easyanswer keybasic explanation
2020 PYQ

Consider the following statements. I. Symbol table is accessed only during lexical analysis and syntax analysis. II. Compilers for programming languages that support recursion nece...

easyanswer keybasic explanation
2018 PYQ

Which one of the following statements is FALSE?

easyanswer key
2017 Q5

Match the following according to input (from the left column) to the compiler phase (in the right column) that processes it: (P) Syntax tree (Q) Character stream (R) Intermediate r...

mediumanswer key
2016 PYQ

Match the following: GROUP - 1 GROUP - 2 (P) Lexical analysis (i) Leftmost derivation (Q) Top down parsing (ii) Type checking (R) Semantic analysis (iii) Regular expressions (S) Ru...

easyanswer key
2015 PYQ

Match the following: GROUP 1 GROUP 2 P. Lexical analysis 1. Graph coloring Q. Parsing 2. DFA minimization R. Register allocation 3. Post-order traversal S. Expression evaluation 4....

easyanswer key
2014 PYQ

One of the purposes of using intermediate code in compilers is to

easyanswer key
2009 PYQ

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. Register allocation Group 2...

easyanswer key
2005 PYQ

Consider line number 3 of the following C - program. int main ( ) { /* Line 1 */ int I, N; /* Line 2 */ fro (I = 0, I < N, I++); /* Line 3 */ } Identify the compiler's response abo...

mediumanswer key
1998 PYQ

Type checking is normally done during

easyanswer key
1990 PYQ

Match the following: List - I (a) Lexical Analysis (b) Code Optimization (c) Code Generation (d) Abelian Group List - II (p) DAG's (q) Syntax trees (r) Push Down automata (s) Finit...

easyanswer key
1988 PYQ

In a compiler the module that checks every character of the source text is called:

easyanswer key