In the context of compilers, which of the following is/are NOT an intermediate…

2021

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

  1. A.

    Symbol table

  2. B.

    Three address code

  3. C.

    Control Flow Graph (CFG)

  4. D.

    Abstract Syntax Tree (AST)

Attempted by 46 students.

Show answer & explanation

Correct answer: A

In compiler theory, Abstract Syntax Trees (AST), Three Address Code, and Control Flow Graphs are standard intermediate representations. The Symbol table is a supporting data structure for storing identifier attributes, not an intermediate representation of the program's computational flow.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir