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

Discussion

The number of three address instructions generated for a program is typically

  • A.independent of the size of the source program
  • B.larger than the number of source statements
  • C.exactly equal to the number of source statements
  • D.smaller than the number of source statements

Answer: B

Correct answer: larger than the number of source statements

One source statement expands into several three address instructions, because each operator and each subexpression becomes an instruction of its own with a temporary to hold the result. An expansion of several times is normal, and it is why the intermediate form is verbose but simple.

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

Post your comment

Please log in or register to post a comment.