Question: Consider the grammar G = ({S, A, B, a, b}, {a, b}, S, P). Give L(G) when P is the stated set of productions. c)
Consider the grammar G = ({S, A, B, a, b}, {a, b}, S, P). Give L(G) when P is the stated set of productions.
c) P = { S ? AB, S ? AA, A ? aB, A ? ab, B ? b }
What is L(G):
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
