Question 31
In DPDA definitions, what does the 'Prefix Property' guarantee for a language L?
Languages satisfying the prefix property prevent prematurely emptying the stack on prefix matches.
In DPDA definitions, what does the 'Prefix Property' guarantee for a language L?
Languages satisfying the prefix property prevent prematurely emptying the stack on prefix matches.
What is the deterministic parsing table property required for a grammar to be LL(1)?
LL(1) grammars guarantee deterministic single-rule table lookups without conflict.
If a grammar G contains a Left-Recursive rule, can G be LL(1)?
Left recursion creates parsing table conflicts in LL(1) parse tables.
In LR(0) parsing, what causes a 'Shift-Reduce' conflict in an item set?
Shift-reduce conflicts occur when the parser cannot decide whether to shift input token 'a' or reduce by production B → $\gamma$.
In LR(0) parsing, what causes a 'Reduce-Reduce' conflict in an item set?
Reduce-reduce conflicts arise when two complete productions compete for reduction in the same state.