Two Design Problems.
Solving Problem 1 is an art. No general principles are known.
To solve Problem 2, work with state diagrams and follow these steps.
Assume Σ = {a, b}. Design machines to recognize strings that
aabba and ends with ba or ends with aa, then it doesn’t end with aa but a occurs somewhereaAssume Σ = {a, b}. Design machines to recognize strings that
aa’sa’sabab and baab or baaa nor bbWe can always get the complement of a language of a DFA simply by exchanging the role of the accepting and the nonaccepting states. Does this technique work for NFAs?
The Product Construction can be used to obtain the language of binary set operations (like union, intersection, set difference, symmetric difference, etc) of two regular languages.