CREATE OWN LIBRARY

Design a DFA for Language: “Exactly one ‘a’”

= {a, b}

 

Answer:

 

L = {a, abb, bab, abbb, …..}

 

 

 

Regular Expression = b*ab*