Let L be a Deterministic CFL over an alphabet Σ. Let L1 = {w : wa ∈ L, for some a ∈ Σ} and L2 = {w : aw ∈ L for some a ∈ Σ}. Only one of L1 and L2 is guaranteed to be a DCFL. Which one? Explain your answer.
2. Corrected_text: Given any CFG G = (V, T, S, P), show how to construct a grammar G' such that L(G') = L(G)R. Explain your answer.
3. Corrected_text: Convert the following grammars to push-down automata using the standard procedure:
(a) S → aABB | aAA
A → aBB | a
B → bBB | A
(b) S → aSb | bSa | ab | ba
Title_with_topic:
1. Deterministic CFL and DCFL
2. Construction of Grammar G' from CFG G
3. Conversion of Grammars to Push-Down Automata