Other / Mixed Topics


Answer & solution
Answer: A, D in the conventional parser model; C requires extra language restrictions (no official key was published)
Naive recursive descent expands a left-recursive nonterminal before consuming input and recurses indefinitely, so A is true for that standard algorithm; specialized modern techniques are outside this model. Optimization usually needs explicit dataflow such as three-address code or DAGs, not merely postfix order, so B is false. C is not guaranteed: runtime-sized arrays can require dynamic storage even without pointers or recursive calls. D is achievable with thunks, using a function plus captured environment to reevaluate an argument; writable parameters additionally need an lvalue-access mechanism. Historical Pascal variant records can bypass type discipline, refuting E. C is sometimes intended under a restricted static-allocation language model, but that restriction is not stated.