Let G = ({S}, {a, b}, R, S) be a context free grammar where the rule set R is…
GATE · 2003 · CS
Let G = ({S}, {a, b}, R, S) be a context free grammar where the rule set R is S → a S b | SS | ε Which of the following statements is true?
- A.
G is not ambiguous
- B.
There exist x, y ∈ L (G) such that xy ∉ L(G)
- C.
There is a deterministic pushdown automaton that accepts L(G)
- D.
We can find a deterministic finite state automaton that accepts L(G)
Attempted by 38 students.
Show answer
Correct answer: C
The worked solution is available to enrolled students.
Video solution available to enrolled students.
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…