GATE CS 2021 Set 2 | Question 23

Compiler Design › Intermediate Code & Code Optimization · MSQ · 1 mark · Answer: D

  1. Question 23Compiler Designmsq1 mark
    In the context of compilers, which of the following is/are NOT an intermediate representation of the source program?
    • A.
      Three address code
    • B.
      Abstract Syntax Tree (AST)
    • C.
      Control Flow Graph (CFG)
    • D.
      Symbol table
      ✓

    Answer: D

    Solution

    Three-address code, the AST and the CFG are all intermediate representations of the program. The symbol table is an auxiliary data structure storing identifier information, not an intermediate representation of the source program.

More GATE PYQ on Intermediate Code & Code Optimization

All GATE CS Compiler Design PYQ →

Attempt GATE CS 2021 Set 2 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →