The GATE Grind

GATE 2021 CS (CS2) – Question 23

Compiler Design · Intermediate Code Generation · 1 mark · Multiple select

Which are NOT intermediate representations of a source program?

  1. Three-address code
  2. Abstract syntax tree
  3. Control-flow graph
  4. Symbol table

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (D) Symbol table

Explanation

Three-address code, ASTs and CFGs each represent program structure or operations for compiler processing. A symbol table stores metadata about identifiers, scopes and types rather than being an intermediate program representation. Therefore D alone is selected.

More Intermediate Code Generation questions

All Intermediate Code Generation questions →