1.

The set of all strings over ∑ ={a,b} in which a single a is followed by any number of b’s a single b                   followed by any number of a’s is?(a) ab* + ba*(b) ab*ba*(c) a*b + b*a(d) None of the mentioned

Answer» Right option is (a) ab* + ba*

Easiest explanation: ab*+ba* is the expression in which a single a is followed by any number of b’s a single b followed by any number of a’s.


Discussion

No Comment Found

Related InterviewSolutions