Question:

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

Show Hint

IRs represent program structure or flow; symbol tables store auxiliary information about identifiers.
Updated On: Dec 29, 2025
  • Three address code
  • Abstract Syntax Tree (AST)
  • Control Flow Graph (CFG)
  • Symbol table
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understanding intermediate representations.
Intermediate representations (IRs) are used by the compiler to represent the structure and semantics of the source program in a form suitable for analysis and optimization.

Step 2: Analysis of options.
Three address code is a linear, low-level intermediate representation used for optimization and code generation.
Abstract Syntax Tree (AST) represents the hierarchical syntactic structure of the program and is an intermediate form.
Control Flow Graph (CFG) represents the flow of control between basic blocks and is also an intermediate representation.
The symbol table, however, is a data structure used to store information about identifiers, such as variable names, types, and scopes. It is not an intermediate representation of the program itself.

Step 3: Conclusion.
Hence, the symbol table is NOT an intermediate representation.

Was this answer helpful?
0
0

Top Questions on Intermediate code generation

Questions Asked in GATE CS exam

View More Questions