M

Mr. Dubey • 100.69K Points
Coach

Q. Give a production grammar for the language L = {x/x ∈ (a,b)*, the number of a’s in x is multiple of 3}.

  • (A) {S->bS,S->b,S->aA,S->bA,A->aB,B->bB,B->aS,S->a}
  • (B) {S->aS,S->bA,A->bB,B->bBa,B->bB}
  • (C) {S->aaS,S->bbA,A->bB,B->ba}
  • (D) None of the above
Share

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics