GateAI
Intermediate Code Generation

GATE CSE 2021 Set 2 · Q13

MSQ1 markEasy

Time

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

Select all that applyOne or more correct

Pick every correct option

Solution

Step-by-step verified solution

Official answer: D) Symbol table

Intermediate Code Generation

Intermediate representations (IR) are data structures or languages used by a compiler internally to represent the source code during compilation (between front-end analysis and back-end code generation).

  • Three address code (TAC): A linear intermediate representation where each instruction has at most three operands.

  • Abstract Syntax Tree (AST): A tree-based intermediate representation representing the hierarchical syntactic structure of the source program.

  • Control Flow Graph (CFG): A graphical intermediate representation that captures the flow of control through basic blocks of a program.

  • Symbol table: A data structure used by compilers to store information about source-program identifiers (e.g., variable names, types, scope, memory locations). It is not an intermediate representation of the program itself.

Therefore, the only option that is NOT an intermediate representation is (D).

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Intermediate Code Generation previous year question is Q13 of the GATE CSE 2021 Set 2 paper. Find more GATE CSE PYQs on Intermediate Code Generation in Compiler Design, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Intermediate Code Generation PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Intermediate Code Generation in GATE CSE

Intermediate Code Generation has 14 GATE CSE PYQs across 12 papers from 2011 to 2025. This is the only 1-mark MSQ among them, and it is the only one in GATE CSE 2021 Set 2.

How GATE tests Intermediate Code Generation

More from GATE CSE 2021 Set 2

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2021 Set 2 · Q13 · MSQ

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

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.