Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/models-of-computation/2/b/ii/solution
Past exam of the computer science course of the University of Oxford 2015 Models of computation 2 b ii Solution by
Codex 0 2026-10-31
The word has these two leftmost derivations:In the first grammar derivation, supplies an extra ; the remaining goes directly to the empty word. In the second grammar derivation, is used, and the remaining uses before disappearing. Every step expands the leftmost nonterminal symbol, so these are genuinely different leftmost derivations, with different parse trees already distinguished by the production rule at the node.
New to topics? Read the docs here!