Consider the following context free grammar

A → aAa | bA | ϵ

given grammar:

1
Generates all the strings with even number of a’s
2
Generates all strings with odd number of b’s
3
Generates set of all strings with number of b’s equal to half the number of a’s.
4
None of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation