MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the grammar rule. E -> E1 − E2 for arithmetic expressions. If E1 and E2 do not have any common sub expression, in order to get the shortest possible code. |
| A. | E1 should be evaluated first |
| B. | E2 should be evaluated first |
| C. | Evaluation of E1 and E2 should necessarily be interleaved |
| D. | Order of evaluation of E1 and E2 is of no consequence |
| Answer» C. Evaluation of E1 and E2 should necessarily be interleaved | |