Machine-translated by Google. Questions are authored in English.
Top

Discussion

The two broad halves into which the phases of a compiler are grouped are

  • A.optimisation and the allocation of registers to the variables
  • B.analysis and synthesis
  • C.compilation and interpretation of the given source program
  • D.translation and the subsequent execution of the target program

Answer: B

Analysis breaks the source into pieces and builds an intermediate representation while recording information in the symbol table. Synthesis constructs the target program from that representation. The front end and back end correspond to this split.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.