Question: What is the language generated by the context - free grammar S - > > aSbbb | Sbbb | aS | e Here S is

What is the language generated by the context-free grammar
S->>aSbbb|Sbbb|aS|e
Here S is the start variable and a, b are terminals.
A.{a^i b^k|0<=3i<= k}
B.{a^i b^k |0<=k<=3i}
C.{a^i b^3k|i>=0, k>=0}
D.{a^i b^3k l0<=i<= k}
E.{a^i b^3k |0<=k<=i}
F. None of the above.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!