in Compiler Design recategorized by
7,379 views
5 votes
5 votes

Which of the following is not an intermediate code form?

  1. Syntax trees
  2. Three address codes
  3. Quadrupules
  4. Post fix Notation
in Compiler Design recategorized by
7.4k views

3 Comments

These are different forms of representing intermediate code but Quadruples used for repsenting three- address code. So answer is c.
0
0
marks for all by NTA  in this question
0
0
All are intermediate code forms. Quadruple, Triple, Indirect Triple etc are also forms of IR.
0
0

1 Answer

1 vote
1 vote

Ans is C 

Intermediate codes are machine independent codes, but they are close to machine instructions.

 he given program in a source language is converted to an equivalent program in an intermediate language by the intermediate code generator.

intermediate code has the following property – simple enough to be Translated to assembly code . complex enough to capture the complication of high level language

The intermediate code can be represented in the form of postfix notation, syntax tree, directed acyclic graph (DAG), three-address code.Out of which 3 address code is  most important  and it can be represented by Quadrupules , triples or indirect triples.

 

http://www.facweb.iitkgp.ac.in/~niloy/COURSE/Autumn2006/Compiler/notes/IC3002.pdf

https://www.geeksforgeeks.org/intermediate-code-generation-in-compiler-design/

Answer:

Related questions