Q. The regular grammar for the language L = {anbm | n + m is even} is given by
β
Correct Answer: (D)
S → S1 | S2 S1 → aa S1| A1 S2 → aaS2| A2 A1 → bb A1| λ A2 → bb A2| λ
You must be Logged in to update hint/solution
Discussion
Question Analytics
209
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
87%
Success Rate