Skip to content
GATEiit

GATE CSE 2021 Set 2 Q23: Which is NOT an intermediate representation

Question

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

Try it: multiple select: one or more correct options

Select one or more options
Select all correct options. No negative marking, no partial marks.
Show answer and explanation

Answer: D (official GATE 2021 final answer key)

Concept used: An intermediate representation encodes the program itself; the symbol table only stores information about names.

First step: Ask of each one whether the program's computation could be reconstructed from it.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2021 Set 2 CS question paper and final answer key, organised by IIT Bombay. Question paper · Answer key