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

Discussion

The partition of a program into basic blocks is

  • A.unique, since the leader rules leave no room for choice
  • B.one of many possible partitions the compiler may select
  • C.chosen so that every block has the same instruction count
  • D.determined by the source syntax rather than by the code

Answer: A

The three leader rules are entirely mechanical, so any two compilers applying them to the same instruction sequence produce exactly the same blocks. Nothing about the source syntax or the block sizes enters into the computation at all.

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

Post your comment

Please log in or register to post a comment.