MCQ
Q.
A CFG G is given with the following productions where S is the start symbol, A is a non-terminal and a and b are terminals.
S?aS?A
A?aAb?bAa??
Which of the following strings is generated by the grammar above?
S?aS?A
A?aAb?bAa??
Which of the following strings is generated by the grammar above?
Correct Answer: D